summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-02-21 19:37:42 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-02-21 19:37:42 (GMT)
commit6f06e137304793cc0db1d85cabe8a6edaac0ca67 (patch)
tree1dfe9020078d4924a6d3f7a058f982e2f6a50540
parent6a26cf436f81495242481ae7a27287e48ebc532a (diff)
downloadswift-contrib-6f06e137304793cc0db1d85cabe8a6edaac0ca67.zip
swift-contrib-6f06e137304793cc0db1d85cabe8a6edaac0ca67.tar.bz2
Read in 'play sounds' toggle at launch
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp2
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_);