aboutsummaryrefslogtreecommitdiffstats
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2016-10-19 10:19:28 +0200
committerAnders Broman <a.broman58@gmail.com>2016-10-20 05:09:58 +0000
commit961b05315df0c17bc21ca77553d1e29ebdf39309 (patch)
treeea6e7704c3d2c92503f551cab50404e62a26288a /wireshark-qt.cpp
parentf0cb70bd18171a8102f4a6baefb385a1dcd2d960 (diff)
WelcomeUI: Make Open and Capture clickable
Make the texts "Open" and "Capture" clickable, and have them open the FileOpen and CaptureOptions dialogs respectively Change-Id: I2a3efbc4cdf160aa0b4efc6496d09228affbff46 Reviewed-on: https://code.wireshark.org/review/18303 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index d5f17c0..e86b83a 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -508,6 +508,8 @@ int main(int argc, char *qt_argv[])
// to force the issue.
main_w->connect(&ws_app, SIGNAL(openCaptureFile(QString,QString,unsigned int)),
main_w, SLOT(openCaptureFile(QString,QString,unsigned int)));
+ main_w->connect(&ws_app, SIGNAL(openCaptureOptions()),
+ main_w, SLOT(on_actionCaptureOptions_triggered()));
/* Init the "Open file" dialog directory */
/* (do this after the path settings are processed) */