summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-21 19:21:05 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-21 19:21:05 (GMT)
commiteb0caf8201ed2b5507401a7127624b64ca2f51fc (patch)
treeca37edf93dc16bc209e3978fe05c509b81918d5b /Swift/Controllers
parent78b972a775dc981c087fc6a72ee043102c5fd283 (diff)
downloadswift-eb0caf8201ed2b5507401a7127624b64ca2f51fc.zip
swift-eb0caf8201ed2b5507401a7127624b64ca2f51fc.tar.bz2
Make dock get the number of pending messages (instead of a generic message).
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/MainController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index 9499e17..6e57a8f 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -261,7 +261,7 @@ void MainController::handleConnected() {
}
void MainController::handleEventQueueLengthChange(int count) {
- dock_->setMessage(count == 0 ? "" : boost::lexical_cast<std::string>(count).c_str());
+ dock_->setNumberOfPendingMessages(count);
}
void MainController::reconnectAfterError() {