mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix initial disabled state for "Focus window" checkbox
This commit is contained in:
parent
252c9c8fae
commit
c829c24b56
|
@ -131,8 +131,12 @@ GeneralForm::GeneralForm(SettingsWidget *myParent) :
|
|||
bodyUI->useEmoticons->setChecked(Settings::getInstance().getUseEmoticons());
|
||||
bodyUI->autoacceptFiles->setChecked(Settings::getInstance().getAutoSaveEnabled());
|
||||
bodyUI->autoSaveFilesDir->setText(Settings::getInstance().getGlobalAutoAcceptDir());
|
||||
bodyUI->showWindow->setChecked(Settings::getInstance().getShowWindow());
|
||||
|
||||
bool showWindow = Settings::getInstance().getShowWindow();
|
||||
|
||||
bodyUI->showWindow->setChecked(showWindow);
|
||||
bodyUI->showInFront->setChecked(Settings::getInstance().getShowInFront());
|
||||
bodyUI->showInFront->setEnabled(showWindow);
|
||||
bodyUI->notifySound->setChecked(Settings::getInstance().getNotifySound());
|
||||
bodyUI->groupAlwaysNotify->setChecked(Settings::getInstance().getGroupAlwaysNotify());
|
||||
bodyUI->cbFauxOfflineMessaging->setChecked(Settings::getInstance().getFauxOfflineMessaging());
|
||||
|
|
Loading…
Reference in New Issue
Block a user