summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-28 18:52:43 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-28 18:52:43 (GMT)
commit85dcc894ccf417ec8b057d868afb1d8006634ac4 (patch)
treeb32c7b747c91727c9caf00076c0b2468038242a7 /Swift/Controllers/SystemTrayController.cpp
parent27f8faea9b516f45c932c6b36a626b78d92438d4 (diff)
downloadswift-85dcc894ccf417ec8b057d868afb1d8006634ac4.zip
swift-85dcc894ccf417ec8b057d868afb1d8006634ac4.tar.bz2
Some code cleanup.
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);
}