summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/SystemTrayController.cpp')
-rw-r--r--Swift/Controllers/SystemTrayController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/SystemTrayController.cpp b/Swift/Controllers/SystemTrayController.cpp
index 8caf79a..0fdd4b5 100644
--- a/Swift/Controllers/SystemTrayController.cpp
+++ b/Swift/Controllers/SystemTrayController.cpp
@@ -14,7 +14,7 @@ SystemTrayController::SystemTrayController(EventController* eventController, Sys
}
void SystemTrayController::handleEventQueueLengthChange(int length) {
- systemTray_->setUnreadMessages(length > 0 ? true : false);
+ systemTray_->setUnreadMessages(length > 0);
}