Use QEnterEvent for QWidget::enterEvent on Qt 6 (#4365)

* fix: use concrete QEnterEvent on Qt 6

* chore: add changelog entry
This commit is contained in:
nerix
2023-02-11 18:13:29 +01:00
committed by GitHub
parent 1d3ca0bfa3
commit 5179567334
11 changed files with 48 additions and 7 deletions
+5 -1
View File
@@ -1440,7 +1440,11 @@ void ChannelView::wheelEvent(QWheelEvent *event)
}
}
void ChannelView::enterEvent(QEvent *)
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
void ChannelView::enterEvent(QEnterEvent * /*event*/)
#else
void ChannelView::enterEvent(QEvent * /*event*/)
#endif
{
}