aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/display_filter_combo.cpp
diff options
context:
space:
mode:
authorHadriel Kaplan <hadrielk@yahoo.com>2014-03-11 00:27:50 -0400
committerEvan Huus <eapache@gmail.com>2014-03-12 21:28:16 +0000
commit5ae2815615d04e63c99c4636e5fdf644d7c5abc9 (patch)
treeefdc012f863935f58b2bf7e85c0cc55ffdb2cc1b /ui/qt/display_filter_combo.cpp
parentbc3aa5dff25b834977dec850efad4c21c10ea179 (diff)
Fix bug 9866: Qt 'Clearing filters does not seem to affect the packet list'
Clicking the "X" clear filter button now applies the clearing to the displayed packet list. This commit also adds tooltips for the display filter display filter box's butons. Change-Id: I827020a7705a32a4a9204d22e94942853e25bba6 Reviewed-on: https://code.wireshark.org/review/601 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'ui/qt/display_filter_combo.cpp')
-rw-r--r--ui/qt/display_filter_combo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/display_filter_combo.cpp b/ui/qt/display_filter_combo.cpp
index 1360f7e17b..576a9a9b2e 100644
--- a/ui/qt/display_filter_combo.cpp
+++ b/ui/qt/display_filter_combo.cpp
@@ -74,6 +74,9 @@ DisplayFilterCombo::DisplayFilterCombo(QWidget *parent) :
"}"
);
completer()->setCompletionMode(QCompleter::PopupCompletion);
+#ifndef QT_NO_TOOLTIP
+ setToolTip(tr("Select from previously used filters"));
+#endif // QT_NO_TOOLTIP
connect(wsApp, SIGNAL(preferencesChanged()), this, SLOT(updateMaxCount()));
}