summaryrefslogtreecommitdiff
path: root/ui/qt/wireshark_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-02-13 16:18:57 -0800
committerGerald Combs <gerald@wireshark.org>2015-02-14 00:19:58 +0000
commitb5a3b65f7aefa7af82f6d4927de91f151d209b3c (patch)
treebeed86ba522ce101884a84dd68ea3b79a70c32af /ui/qt/wireshark_dialog.cpp
parentf85d1c801d0fd49950a13bf134102ff04582f17d (diff)
downloadwireshark-b5a3b65f7aefa7af82f6d4927de91f151d209b3c.tar.gz
Qt: Fix side effects of recent WiresharkDialog changes.
Quit the application when the main window closes. This cleans up any other top-level windows that might be open. Don't dereference a NULL pointer when opening the sequence dialog from the VoIP calls dialog. Change-Id: I9902d40ead1c5f2e541b6d79f3d957228e4e9687 Reviewed-on: https://code.wireshark.org/review/7107 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/wireshark_dialog.cpp')
-rw-r--r--ui/qt/wireshark_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/wireshark_dialog.cpp b/ui/qt/wireshark_dialog.cpp
index 1428323057..ca91182028 100644
--- a/ui/qt/wireshark_dialog.cpp
+++ b/ui/qt/wireshark_dialog.cpp
@@ -37,7 +37,7 @@
// To do:
// - Use a dynamic property + Q_PROPERTY for the subtitle.
-
+// - Save and load recent geometry.
WiresharkDialog::WiresharkDialog(QWidget &, CaptureFile &capture_file) :
QDialog(NULL, Qt::Window),