aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-12 06:06:13 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-12 06:06:13 -0800
commit6bff18e56a0412afa8b72d101a857e6ae852d49b (patch)
tree3cf36ef2843671c7cc44b849239720c7e9c767f8 /qt-ui
parent4f522d79d8646d5156729cee0b43050e59738316 (diff)
downloadsubsurface-6bff18e56a0412afa8b72d101a857e6ae852d49b.tar.gz
Make sure the about dialog is correctly centered
Otherwise, why pass in the parent to begin with? Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/about.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/about.cpp b/qt-ui/about.cpp
index c97bde673..7490c2dee 100644
--- a/qt-ui/about.cpp
+++ b/qt-ui/about.cpp
@@ -3,7 +3,7 @@
#include <QDesktopServices>
#include <QUrl>
-SubsurfaceAbout::SubsurfaceAbout(QWidget* parent, Qt::WindowFlags f)
+SubsurfaceAbout::SubsurfaceAbout(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f)
{
ui.setupUi(this);