diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-06-30 14:55:19 -0700 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-07-01 02:10:22 +0000 |
commit | 5cf7fcdf0f62cf0d8617428141a26e6f280a45d0 (patch) | |
tree | 104b76a624fe278c5db96591e97d26912f64f5ea /ui/qt/main_window.cpp | |
parent | f860e8de525d721d6678896fc9ef415ea68e2ead (diff) | |
download | wireshark-5cf7fcdf0f62cf0d8617428141a26e6f280a45d0.tar.gz |
Qt+Gtk: Fix the -t command line flag.
Add the time format to commandline_param_info_t and apply it when we've
finished application initialization.
Bug: 12489
Change-Id: Ice626198a610567e945a8e53c0c1093797e8208e
Reviewed-on: https://code.wireshark.org/review/16232
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt/main_window.cpp')
-rw-r--r-- | ui/qt/main_window.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index d7de835af5..fb43642047 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -338,6 +338,7 @@ MainWindow::MainWindow(QWidget *parent) : //Otherwise unexpected problems may occur setFeaturesEnabled(false); connect(wsApp, SIGNAL(appInitialized()), this, SLOT(setFeaturesEnabled())); + connect(wsApp, SIGNAL(appInitialized()), this, SLOT(applyGlobalCommandLineOptions())); connect(wsApp, SIGNAL(appInitialized()), this, SLOT(zoomText())); connect(wsApp, SIGNAL(appInitialized()), this, SLOT(initViewColorizeMenu())); connect(wsApp, SIGNAL(appInitialized()), this, SLOT(addStatsPluginsToMenu())); |