diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-28 18:52:43 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-28 18:52:43 (GMT) |
commit | 85dcc894ccf417ec8b057d868afb1d8006634ac4 (patch) | |
tree | b32c7b747c91727c9caf00076c0b2468038242a7 /Swift/Controllers/SystemTrayController.cpp | |
parent | 27f8faea9b516f45c932c6b36a626b78d92438d4 (diff) | |
download | swift-contrib-85dcc894ccf417ec8b057d868afb1d8006634ac4.zip swift-contrib-85dcc894ccf417ec8b057d868afb1d8006634ac4.tar.bz2 |
Some code cleanup.
Diffstat (limited to 'Swift/Controllers/SystemTrayController.cpp')
-rw-r--r-- | Swift/Controllers/SystemTrayController.cpp | 2 |
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); } |