aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/display_filter_combo.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2015-09-06 10:37:15 -0700
committerGerald Combs <gerald@wireshark.org>2015-09-06 19:08:01 +0000
commit84a3c85be4b7272b07b0da7cea741dd54e1a11b5 (patch)
tree76691beff4fc24c5cc2031403cc0f77f22ea9dbd /ui/qt/display_filter_combo.cpp
parent628f65a9846acd68cec035e6d7b206b68de88715 (diff)
Disable display filter tooltips for now.
Comment out the setToolTip call in DisplayFilterCombo. The function applies to the entire control, but the text only makes sense for the drop-down arrow. Remove the tooltip for the clear button in DisplayFilterEdit. If the purpose of the "X" symbol isn't obvious then we aren't doing our job properly. Comment out the other setToolTip calls in DisplayFilterEdit for now since they interfere with leaveEvents. Add a note about a possible workaround. Change-Id: I055a30b6a5b5e07cebf1fa36e217654d390d34d0 Reviewed-on: https://code.wireshark.org/review/10405 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/display_filter_combo.cpp')
-rw-r--r--ui/qt/display_filter_combo.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/qt/display_filter_combo.cpp b/ui/qt/display_filter_combo.cpp
index 2481c208a8..22737b82e8 100644
--- a/ui/qt/display_filter_combo.cpp
+++ b/ui/qt/display_filter_combo.cpp
@@ -75,9 +75,8 @@ DisplayFilterCombo::DisplayFilterCombo(QWidget *parent) :
" left: 1px;"
"}"
);
-#ifndef QT_NO_TOOLTIP
- setToolTip(tr("Select from previously used filters"));
-#endif // QT_NO_TOOLTIP
+ // XXX This applies to the whole control, not just the drop-down arrow.
+// setToolTip(tr("Select from previously used filters"));
connect(wsApp, SIGNAL(preferencesChanged()), this, SLOT(updateMaxCount()));
}