summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/printoptions.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/desktop-widgets/printoptions.cpp b/desktop-widgets/printoptions.cpp
index 29aba313d..75d6ad8c4 100644
--- a/desktop-widgets/printoptions.cpp
+++ b/desktop-widgets/printoptions.cpp
@@ -34,10 +34,8 @@ void PrintOptions::setup()
setupTemplates();
// general print option checkboxes
- if (printOptions->color_selected)
- ui.printInColor->setChecked(true);
- if (printOptions->print_selected)
- ui.printSelected->setChecked(true);
+ ui.printInColor->setChecked(printOptions->color_selected);
+ ui.printSelected->setChecked(printOptions->print_selected);
// connect slots only once
if (hasSetupSlots)