diff options
Diffstat (limited to 'qt-ui/printlayout.cpp')
-rw-r--r-- | qt-ui/printlayout.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index f9b71d9b3..63819ad48 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -17,7 +17,7 @@ #include "models.h" #include "modeldelegates.h" -PrintLayout::PrintLayout(PrintDialog *dialogPtr, QPrinter *printerPtr, struct options *optionsPtr) +PrintLayout::PrintLayout(PrintDialog *dialogPtr, QPrinter *printerPtr, struct print_options *optionsPtr) { dialog = dialogPtr; printer = printerPtr; @@ -74,16 +74,16 @@ void PrintLayout::print() return; } switch (printOptions->type) { - case options::PRETTY: + case print_options::PRETTY: printProfileDives(3, 2); break; - case options::ONEPERPAGE: + case print_options::ONEPERPAGE: printProfileDives(1, 1); break; - case options::TWOPERPAGE: + case print_options::TWOPERPAGE: printProfileDives(2, 1); break; - case options::TABLE: + case print_options::TABLE: printTable(); break; } |