From 86d1b542350dd67c45824004d974f9fb30e0fbe3 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Sat, 20 Dec 2014 23:30:12 +0100 Subject: 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 Petri-Dish: Pascal Quantin Reviewed-by: Gerald Combs --- ui/qt/main_status_bar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/qt/main_status_bar.cpp') 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(""); - 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); -- cgit v1.2.1