summaryrefslogtreecommitdiffstats
path: root/qt-ui/printoptions.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-07-10 15:34:57 +0300
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-07-10 15:34:57 +0300
commit41bad7695ee40571062a370610e6ca518295e3c7 (patch)
tree6c3d960f36440edb3e5532a84400811004853d0a /qt-ui/printoptions.cpp
parent74f989bc46a06c124283fa851a06dd093f817c96 (diff)
downloadsubsurface-41bad7695ee40571062a370610e6ca518295e3c7.tar.gz
Print: add a class for print layouting
PrintLayout is a class that will handle the layouting part of dive profiles, text, tables depending on the settings of a QPrinter and the PrinterDialog and PrintOptions instances. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printoptions.cpp')
-rw-r--r--qt-ui/printoptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/printoptions.cpp b/qt-ui/printoptions.cpp
index 005c4dc84..a0d5b80cf 100644
--- a/qt-ui/printoptions.cpp
+++ b/qt-ui/printoptions.cpp
@@ -21,7 +21,7 @@ void PrintOptions::setup(struct options *printOpt)
initSliderWithLabel(ui->sliderOHeight, ui->valueOHeight, printOptions->notes_height);
initSliderWithLabel(ui->sliderNHeight, ui->valueNHeight, printOptions->tanks_height);
// print type radio buttons
- switch (printOptions->type) {
+ switch (printOptions->type) {
case options::PRETTY:
ui->radioSixDives->setChecked(true);
break;