summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-02-21 19:35:25 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-02-21 19:35:25 (GMT)
commit6a26cf436f81495242481ae7a27287e48ebc532a (patch)
tree15ff913ec0af224b8f334dca78511047247d85b2 /Swift/Controllers
parent7d77d33bdf81a708663f1fe2ca8300214c90159e (diff)
downloadswift-6a26cf436f81495242481ae7a27287e48ebc532a.zip
swift-6a26cf436f81495242481ae7a27287e48ebc532a.tar.bz2
Read in the notifications toggle at launch
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/MainController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index 06f8c3a..4f869a7 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -126,6 +126,7 @@ MainController::MainController(
uiEventStream_ = new UIEventStream();
notifier_ = new TogglableNotifier(notifier);
+ notifier_->setPersistentEnabled(settings_->getSetting(SettingConstants::SHOW_NOTIFICATIONS));
eventController_ = new EventController();
eventController_->onEventQueueLengthChange.connect(boost::bind(&MainController::handleEventQueueLengthChange, this, _1));