summaryrefslogtreecommitdiff
path: root/ui/qt
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-06-25 23:29:00 -0400
committerAnders Broman <a.broman58@gmail.com>2017-06-26 06:27:24 +0000
commit7ecea315811c60530a036aecdd87fa504421e990 (patch)
tree62cc022e84de0d28c377dadf4a03db7602f074a8 /ui/qt
parent8d214209e80c2cc86ad9624b31cc6365e10ed454 (diff)
downloadwireshark-7ecea315811c60530a036aecdd87fa504421e990.tar.gz
Change display filter button tooltip formatting.
Go from <expression>,<comment> to <comment>\n<expression> Bug: 13814 Change-Id: I842e38798eba7ff87751733ce0b2befdc9c8c27f Reviewed-on: https://code.wireshark.org/review/22395 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/main_window_slots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index 1b153ce19a..02fbf3a65f 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -911,7 +911,7 @@ gboolean MainWindow::filter_expression_add_action(const void *key _U_, void *val
QAction *dfb_action = new QAction(fe->label, data->window->filter_expression_toolbar_);
if (strlen(fe->comment) > 0)
{
- QString tooltip = QString("%1, %2").arg(fe->expression).arg(fe->comment);
+ QString tooltip = QString("%1\n%2").arg(fe->comment).arg(fe->expression);
dfb_action->setToolTip(tooltip);
}
else