summaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/printdialog.cpp')
-rw-r--r--qt-ui/printdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp
index d5a16df11..25c102201 100644
--- a/qt-ui/printdialog.cpp
+++ b/qt-ui/printdialog.cpp
@@ -39,7 +39,7 @@ PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f
printOptions.type = print_options::DIVELIST;
templateOptions.font_index = 0;
templateOptions.font_size = 9;
- templateOptions.color_palette_index = 0;
+ templateOptions.color_palette_index = ALMOND;
templateOptions.line_spacing = 1;
custom_colors = almond_colors;
} else {
@@ -70,13 +70,13 @@ PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f
}
switch (templateOptions.color_palette_index) {
- case 0: // almond
+ case ALMOND: // almond
templateOptions.color_palette = almond_colors;
break;
- case 1: // blueshades
+ case BLUESHADES: // blueshades
templateOptions.color_palette = blueshades_colors;
break;
- case 2: // custom
+ case CUSTOM: // custom
templateOptions.color_palette = custom_colors;
break;
}