Don't if true then true

Set the values directly, seems much more sane.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-01-08 15:32:06 -02:00 committed by Dirk Hohndel
parent 1210d4b575
commit dec2572ec6

View file

@ -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)