aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/geometry_state_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-06-24 10:52:44 -0700
committerAnders Broman <a.broman58@gmail.com>2016-06-26 06:09:58 +0000
commit291762d0af8cd49a19c6fc73fce317ee20816a17 (patch)
treec98be0a248863e45498848af53d750325e074c73 /ui/qt/geometry_state_dialog.cpp
parent974a530f8edbb31f6f6cacc904f3892b25268d7c (diff)
Qt: Try to fix un-maximize behavior on OS X.
On OS X, create dialogs with valid parents so that we don't trigger QTBUG-46701. Document QDialog's "on top", maximize, and minimize behaviors. Bug: 12544 Change-Id: I32c0ef01dba3f7132e5fd0cd61f9feb654b92009 Reviewed-on: https://code.wireshark.org/review/16127 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: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/geometry_state_dialog.cpp')
-rw-r--r--ui/qt/geometry_state_dialog.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/qt/geometry_state_dialog.cpp b/ui/qt/geometry_state_dialog.cpp
index 95469ae4a8..a934a4e10f 100644
--- a/ui/qt/geometry_state_dialog.cpp
+++ b/ui/qt/geometry_state_dialog.cpp
@@ -24,13 +24,6 @@
#include "ui/recent.h"
#include "ui/ui_util.h"
-
-GeometryStateDialog::GeometryStateDialog(QWidget *parent, Qt::WindowFlags f) :
- QDialog(parent, f)
-{
-
-}
-
GeometryStateDialog::~GeometryStateDialog()
{
saveGeometry();