Browse Source

Fix Start Minimized checkbox in Options

adaptive-webui-19844
ngosang 9 years ago
parent
commit
0ef728d385
  1. 14
      src/gui/options_imp.cpp

14
src/gui/options_imp.cpp

@ -529,16 +529,20 @@ void options_imp::loadOptions() { @@ -529,16 +529,20 @@ void options_imp::loadOptions() {
const Preferences* const pref = Preferences::instance();
setLocale(pref->getLocale());
checkAltRowColors->setChecked(pref->useAlternatingRowColors());
checkShowSystray->setChecked(pref->systrayIntegration());
checkShowSplash->setChecked(!pref->isSplashScreenDisabled());
checkStartMinimized->setChecked(pref->startMinimized());
checkProgramExitConfirm->setChecked(pref->confirmOnExit());
checkShowSystray->setChecked(pref->systrayIntegration());
if (checkShowSystray->isChecked()) {
checkCloseToSystray->setChecked(pref->closeToTray());
checkMinimizeToSysTray->setChecked(pref->minimizeToTray());
checkStartMinimized->setChecked(pref->startMinimized());
}
checkCloseToSystray->setChecked(pref->closeToTray());
comboTrayIcon->setCurrentIndex(pref->trayIconStyle());
checkProgramExitConfirm->setChecked(pref->confirmOnExit());
}
checkPreventFromSuspend->setChecked(pref->preventFromSuspend());
#ifdef Q_OS_WIN
checkStartup->setChecked(pref->WinStartup());
// Windows: file association settings

Loading…
Cancel
Save