summaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-22 06:42:02 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-22 10:57:51 -0700
commit1ecc9b0cc0c4e7ad2b03236a788cf875189f1832 (patch)
tree15c9c28c046032e22a5ae155b59aa6f502c08848 /qt-ui/printdialog.cpp
parent85dfb88f51098158a5fac52ce432a07625374c70 (diff)
downloadsubsurface-1ecc9b0cc0c4e7ad2b03236a788cf875189f1832.tar.gz
Address uninitialized member warnings
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printdialog.cpp')
-rw-r--r--qt-ui/printdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp
index 848183882..4a3314691 100644
--- a/qt-ui/printdialog.cpp
+++ b/qt-ui/printdialog.cpp
@@ -21,6 +21,7 @@ PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f
printOptions.color_selected = true;
printOptions.landscape = false;
printOptions.p_template = print_options::ONE_DIVE;
+ printOptions.type = print_options::DIVELIST;
} else {
s.beginGroup(SETTINGS_GROUP);
printOptions.type = (print_options::print_type)s.value("type").toInt();