diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-04-05 11:01:48 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-04-05 11:01:48 (GMT) |
commit | 348a4f13c5f00a27ad5c7e4f392948de7cc454e3 (patch) | |
tree | 43392423f5939190075d62aaae1478f52571af5c /Swift/Controllers/MainController.cpp | |
parent | 326cd32e2c9e3ec9bac54f5bb952928680c93749 (diff) | |
download | swift-348a4f13c5f00a27ad5c7e4f392948de7cc454e3.zip swift-348a4f13c5f00a27ad5c7e4f392948de7cc454e3.tar.bz2 |
Persist Sound Toggleness.
Resolves: #192
Diffstat (limited to 'Swift/Controllers/MainController.cpp')
-rw-r--r-- | Swift/Controllers/MainController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp index ccce0bb..8aeca97 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -71,8 +71,8 @@ MainController::MainController(ChatWindowFactory* chatWindowFactory, MainWindowF eventController_->onEventQueueLengthChange.connect(boost::bind(&MainController::handleEventQueueLengthChange, this, _1)); systemTrayController_ = new SystemTrayController(eventController_, systemTray); - soundEventController_ = new SoundEventController(eventController_, soundPlayer, settings->getBoolSetting("playSounds", true), uiEventStream_); loginWindow_ = loginWindowFactory_->createLoginWindow(uiEventStream_); + soundEventController_ = new SoundEventController(eventController_, soundPlayer, settings, uiEventStream_); foreach (String profile, settings->getAvailableProfiles()) { ProfileSettingsProvider* profileSettings = new ProfileSettingsProvider(profile, settings); loginWindow_->addAvailableAccount(profileSettings->getStringSetting("jid"), profileSettings->getStringSetting("pass"), profileSettings->getStringSetting("certificate")); |