aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-12-20 23:30:12 +0100
committerGerald Combs <gerald@wireshark.org>2014-12-21 04:12:08 +0000
commit86d1b542350dd67c45824004d974f9fb30e0fbe3 (patch)
treeba5ede233679ab6799e51c174592f67464d3fd04
parentcadf1a5fce380f1e726717f3d47a794b5250caf9 (diff)
Qt: disable Capture File Properties toolbar icon by default
Otherwise it can be opened by clikcing on the icon just after launching Wireshark Also update tooltip to match the exact dialog name Change-Id: I5ce5e0c24f3dfb44c2303c78114102c5c03ccc88 Reviewed-on: https://code.wireshark.org/review/5930 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Gerald Combs <gerald@wireshark.org>
-rw-r--r--ui/qt/main_status_bar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/main_status_bar.cpp b/ui/qt/main_status_bar.cpp
index 8d9c430930..dac35af520 100644
--- a/ui/qt/main_status_bar.cpp
+++ b/ui/qt/main_status_bar.cpp
@@ -121,7 +121,8 @@ MainStatusBar::MainStatusBar(QWidget *parent) :
// We just want a clickable image. Using a QPushButton or QToolButton would require
// a lot of adjustment.
comment_label_.setText("<a href><img src=\":/comment/capture_comment_update.png\"></img></a>");
- comment_label_.setToolTip(tr("Open the Capture Properties dialog"));
+ comment_label_.setToolTip(tr("Open the Capture File Properties dialog"));
+ comment_label_.setEnabled(false);
connect(&comment_label_, SIGNAL(linkActivated(QString)), this, SIGNAL(editCaptureComment()));
info_progress_hb->setContentsMargins(0, 0, 0, 0);