summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-10-16 07:08:59 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-10-16 07:08:59 (GMT)
commita8705f484480854816bc6807f1c56b0cf987faff (patch)
tree759fc843b78c16915562d2db0726c018cbaeb42d /Swift/Controllers/MainController.cpp
parent87775c50a1c9a223f554c37e549ea8a2b03c9a89 (diff)
downloadswift-a8705f484480854816bc6807f1c56b0cf987faff.zip
swift-a8705f484480854816bc6807f1c56b0cf987faff.tar.bz2
Mark as offline in the roster after an error.
Diffstat (limited to 'Swift/Controllers/MainController.cpp')
-rw-r--r--Swift/Controllers/MainController.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index 8bd9435..6c862ec 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -291,6 +291,8 @@ void MainController::logout() {
if (client_ && client_->isAvailable()) {
client_->disconnect();
}
+ rosterController_->getWindow()->setMyStatusType(StatusShow::None);
+ rosterController_->getWindow()->setMyStatusText("");
setManagersEnabled(false);
}