summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-10-24 13:42:25 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-10-24 13:42:25 (GMT)
commit77fbff68d5aa3a292a3cb2aae4fdaf7f5619116a (patch)
tree8aa7cc62f10eb2b4fbf96fb10ca976625f6baaf1 /Swift/Controllers/MainController.cpp
parent0f078be02cd6818aeacc935a1ab790b41267a00d (diff)
downloadswift-77fbff68d5aa3a292a3cb2aae4fdaf7f5619116a.zip
swift-77fbff68d5aa3a292a3cb2aae4fdaf7f5619116a.tar.bz2
Provide feedback in the status header when attempting to connect.
Resolves: #657 Release-Notes: The status setter now shows when you're connecting.
Diffstat (limited to 'Swift/Controllers/MainController.cpp')
-rw-r--r--Swift/Controllers/MainController.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index fcd161b..26d29e7 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -425,6 +425,9 @@ void MainController::performLoginFromCachedCredentials() {
/* In case we're in the middle of another login, make sure they don't overlap */
client_->disconnect();
}
+ if (rosterController_) {
+ rosterController_->getWindow()->setConnecting();
+ }
/* If we logged in with a bare JID, and we have a full bound JID, re-login with the
* bound JID to try and keep dynamically assigned resources */
if (boundJID_.isValid() && jid_.isBare() && boundJID_.toBare() == jid_) {