summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-12 06:26:25 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-12 06:26:25 -0800
commit5ca13b0024abdd7e8c687be90d62db97d7f5b8af (patch)
treea67558d9dc6c53be05d0a97583d6c0b9013716fb /qt-ui
parent6332976c3d570e7f585e17b6897ae3dc07d7376c (diff)
downloadsubsurface-5ca13b0024abdd7e8c687be90d62db97d7f5b8af.tar.gz
Correctly track parent of print dialog
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/printdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp
index 46ed261f7..f61cd22ac 100644
--- a/qt-ui/printdialog.cpp
+++ b/qt-ui/printdialog.cpp
@@ -11,7 +11,7 @@
#include <QPrintPreviewDialog>
#include <QPrintDialog>
-PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f)
+PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f)
{
// options template (are we storing these in the settings?)
struct options tempOptions = {options::PRETTY, 0, 2, false, 65, 15, 12};