diff options
-rw-r--r-- | ui/qt/display_filter_edit.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/qt/display_filter_edit.cpp b/ui/qt/display_filter_edit.cpp index e136aaf6aa..ff2c6df435 100644 --- a/ui/qt/display_filter_edit.cpp +++ b/ui/qt/display_filter_edit.cpp @@ -117,9 +117,11 @@ protected: case QEvent::Timer: { // We can lose QEvent::Leave, QEvent::HoverLeave and underMouse() - // if a tooltip appears, at least OS X. Work around the issue by - // periodically checking the mouse position and scheduling a fake - // leave event when the mouse moves away. + // if a tooltip appears, at least OS X: + // https://bugreports.qt.io/browse/QTBUG-46379 + // Work around the issue by periodically checking the mouse + // position and scheduling a fake leave event when the mouse + // moves away. QTimerEvent *te = (QTimerEvent *) event; bool under_mouse = rect().contains(mapFromGlobal(QCursor::pos())); if (te->timerId() == leave_timer_ && !under_mouse) { |