diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-02-21 19:37:42 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-02-21 19:37:42 (GMT) |
commit | 6f06e137304793cc0db1d85cabe8a6edaac0ca67 (patch) | |
tree | 1dfe9020078d4924a6d3f7a058f982e2f6a50540 /Swift/QtUI | |
parent | 6a26cf436f81495242481ae7a27287e48ebc532a (diff) | |
download | swift-6f06e137304793cc0db1d85cabe8a6edaac0ca67.zip swift-6f06e137304793cc0db1d85cabe8a6edaac0ca67.tar.bz2 |
Read in 'play sounds' toggle at launch
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtLoginWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp index 5b2cf5c..1cd3206 100644 --- a/Swift/QtUI/QtLoginWindow.cpp +++ b/Swift/QtUI/QtLoginWindow.cpp @@ -178,7 +178,7 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream, SettingsProvider* set toggleSoundsAction_ = new QAction(tr("&Play Sounds"), this); toggleSoundsAction_->setCheckable(true); - toggleSoundsAction_->setChecked(true); + toggleSoundsAction_->setChecked(settings_->getSetting(SettingConstants::PLAY_SOUNDS)); connect(toggleSoundsAction_, SIGNAL(toggled(bool)), SLOT(handleToggleSounds(bool))); generalMenu_->addAction(toggleSoundsAction_); |