mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #3048
Jason Papakostas (1): fix initial disabled state for "Focus window" checkbox
This commit is contained in:
commit
cc204a564a
|
@ -131,8 +131,12 @@ GeneralForm::GeneralForm(SettingsWidget *myParent) :
|
||||||
bodyUI->useEmoticons->setChecked(Settings::getInstance().getUseEmoticons());
|
bodyUI->useEmoticons->setChecked(Settings::getInstance().getUseEmoticons());
|
||||||
bodyUI->autoacceptFiles->setChecked(Settings::getInstance().getAutoSaveEnabled());
|
bodyUI->autoacceptFiles->setChecked(Settings::getInstance().getAutoSaveEnabled());
|
||||||
bodyUI->autoSaveFilesDir->setText(Settings::getInstance().getGlobalAutoAcceptDir());
|
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->setChecked(Settings::getInstance().getShowInFront());
|
||||||
|
bodyUI->showInFront->setEnabled(showWindow);
|
||||||
bodyUI->notifySound->setChecked(Settings::getInstance().getNotifySound());
|
bodyUI->notifySound->setChecked(Settings::getInstance().getNotifySound());
|
||||||
bodyUI->groupAlwaysNotify->setChecked(Settings::getInstance().getGroupAlwaysNotify());
|
bodyUI->groupAlwaysNotify->setChecked(Settings::getInstance().getGroupAlwaysNotify());
|
||||||
bodyUI->cbFauxOfflineMessaging->setChecked(Settings::getInstance().getFauxOfflineMessaging());
|
bodyUI->cbFauxOfflineMessaging->setChecked(Settings::getInstance().getFauxOfflineMessaging());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user