summaryrefslogtreecommitdiff
path: root/ui/qt/wireshark_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-02-12 19:31:13 -0800
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-02-13 16:07:00 +0000
commit8843606666db80fab3812a2b45f1c882eb48805d (patch)
treed677c52f3dad68cdbebc30170619e999cc74f881 /ui/qt/wireshark_dialog.cpp
parent48a95dea4f9ac9629e15dc170a7e0f82489884e6 (diff)
downloadwireshark-8843606666db80fab3812a2b45f1c882eb48805d.tar.gz
Qt: Try to make some dialogs behave like windows.
Initialize WiresharkDialog with a NULL parent. This should make its subclasses behave like independent windows. Change-Id: If84609eeba53a92780c0873a1243888998d2b26b Reviewed-on: https://code.wireshark.org/review/7094 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui/qt/wireshark_dialog.cpp')
-rw-r--r--ui/qt/wireshark_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/wireshark_dialog.cpp b/ui/qt/wireshark_dialog.cpp
index bc6c7e7534..1428323057 100644
--- a/ui/qt/wireshark_dialog.cpp
+++ b/ui/qt/wireshark_dialog.cpp
@@ -39,8 +39,8 @@
// - Use a dynamic property + Q_PROPERTY for the subtitle.
-WiresharkDialog::WiresharkDialog(QWidget &parent, CaptureFile &capture_file) :
- QDialog(&parent, Qt::Window),
+WiresharkDialog::WiresharkDialog(QWidget &, CaptureFile &capture_file) :
+ QDialog(NULL, Qt::Window),
cap_file_(capture_file),
file_closed_(false)
{