aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-02-17 12:29:31 -0800
committerGerald Combs <gerald@wireshark.org>2015-02-17 20:30:52 +0000
commit2c43b6885e21580374f79ed498c960ce180ca7ad (patch)
tree027f56bc6a14c0eec203a549f6acf49cbe9519ec
parente61f3d5e77c879ae81ea1ec65cc702360155d8b0 (diff)
Set a window icon for WiresharkDialog.
Otherwise it ends up with a generic icon. Change-Id: I47292c966332073d07ef358316cf8b40bcf1329b Reviewed-on: https://code.wireshark.org/review/7200 Reviewed-by: Gerald Combs <gerald@wireshark.org>
-rw-r--r--ui/qt/wireshark_dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/wireshark_dialog.cpp b/ui/qt/wireshark_dialog.cpp
index ca91182028..7ca270ed20 100644
--- a/ui/qt/wireshark_dialog.cpp
+++ b/ui/qt/wireshark_dialog.cpp
@@ -44,6 +44,7 @@ WiresharkDialog::WiresharkDialog(QWidget &, CaptureFile &capture_file) :
cap_file_(capture_file),
file_closed_(false)
{
+ setWindowIcon(wsApp->normalIcon());
connect(&cap_file_, SIGNAL(captureFileClosing()), this, SLOT(captureFileClosing()));
connect(&cap_file_, SIGNAL(captureFileClosed()), this, SLOT(captureFileClosing()));
setWindowTitleFromSubtitle();