aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoshe Kaplan <me@moshekaplan.com>2019-08-25 12:58:49 -0400
committerAnders Broman <a.broman58@gmail.com>2019-08-27 04:05:38 +0000
commitbb7b35963508eb39c91f82ca174473908aaa9656 (patch)
tree5983f30a0624b80586db96a9acf39138141a07e7
parent698126581eebdd757d2e55830370b8dd3d9b759d (diff)
Add tooltip for clearing display filter
Change-Id: I11f8c7ba00ffdc3028c85b1f0957bd6f95092dce Reviewed-on: https://code.wireshark.org/review/34357 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--ui/qt/widgets/display_filter_edit.cpp2
-rw-r--r--ui/qt/wireshark_en.ts4
2 files changed, 5 insertions, 1 deletions
diff --git a/ui/qt/widgets/display_filter_edit.cpp b/ui/qt/widgets/display_filter_edit.cpp
index 8c12ad2b09..50fe74f5a0 100644
--- a/ui/qt/widgets/display_filter_edit.cpp
+++ b/ui/qt/widgets/display_filter_edit.cpp
@@ -98,7 +98,7 @@ DisplayFilterEdit::DisplayFilterEdit(QWidget *parent, DisplayFilterEditType type
if (type_ == DisplayFilterToApply) {
clear_button_ = new StockIconToolButton(this, "x-filter-clear");
clear_button_->setCursor(Qt::ArrowCursor);
- clear_button_->setToolTip(QString());
+ clear_button_->setToolTip(tr("Clear display filter"));
clear_button_->setIconSize(QSize(14, 14));
clear_button_->setStyleSheet(
"QToolButton {"
diff --git a/ui/qt/wireshark_en.ts b/ui/qt/wireshark_en.ts
index b105fc85b3..b17fc0d10a 100644
--- a/ui/qt/wireshark_en.ts
+++ b/ui/qt/wireshark_en.ts
@@ -1964,6 +1964,10 @@ For example, use 1 hour to have a new file created every hour on the hour.</sour
<translation type="unfinished"></translation>
</message>
<message>
+ <source>Clear display filter</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
<source>Apply a read filter %1</source>
<translation type="unfinished"></translation>
</message>