Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Salanto committed Feb 10, 2024
1 parent c4e983b commit d309fff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/widgets/aooptionsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ void AOOptionsDialog::updateValues()

void AOOptionsDialog::savePressed()
{
bool l_reload_theme_required = (ui_theme_combobox->currentText() != Options::getInstance().theme()) || (ui_theme_scaling_factor_sb->value() != Options.getInstance().themeScalingFactor());
bool l_reload_theme_required =
(ui_theme_combobox->currentText() != Options::getInstance().theme()) ||
(ui_theme_scaling_factor_sb->value() !=
Options::getInstance().themeScalingFactor());
for (const OptionEntry &entry : qAsConst(optionEntries)) {
entry.save();
}
Expand Down

0 comments on commit d309fff

Please sign in to comment.