aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-12 13:25:23 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-12 13:25:23 -0800
commit730e0295c91494e7b3a596221334f014d4cf4c98 (patch)
tree0634ff893b45644251529ecefe9e3b67b7cbb832
parentaf5ad2033dfc5749a1b195b13c198d439c7ed4a5 (diff)
downloadsubsurface-730e0295c91494e7b3a596221334f014d4cf4c98.tar.gz
Ensure the correct parent is used in the dialog
This way the dialog is centered and the main window gets dimmed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/subsurfacewebservices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index 86dbf5015..1fcfca15f 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -310,7 +310,7 @@ void WebServices::resetState()
// #
// #
-SubsurfaceWebServices::SubsurfaceWebServices(QWidget* parent, Qt::WindowFlags f)
+SubsurfaceWebServices::SubsurfaceWebServices(QWidget* parent, Qt::WindowFlags f) : WebServices(parent, f)
{
QSettings s;
ui.userID->setText(s.value("subsurface_webservice_uid").toString().toUpper());