aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/display_filter_edit.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2015-09-07 10:09:01 -0700
committerGerald Combs <gerald@wireshark.org>2015-09-07 17:11:31 +0000
commit912921b10b3852fa1957090da4b2bdee137c5fd8 (patch)
tree43bb962f99cb09b50568b4d1dcd086a4b3ed88a5 /ui/qt/display_filter_edit.cpp
parent393c4bc7f8503b246b3efe756d3544090e242c75 (diff)
Add a URL for the tooltip bug.
It should be fixed in Qt 5.5.1. Change-Id: I32fa11accdd6bea953341dd6b4914686cacda98e Reviewed-on: https://code.wireshark.org/review/10419 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/display_filter_edit.cpp')
-rw-r--r--ui/qt/display_filter_edit.cpp8
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) {