summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-09-12 21:53:57 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-09-12 21:53:57 (GMT)
commita2f1c206f3468553da879e903c9cc3f175b8e52c (patch)
tree8ce44780b4a5019662fb87808f12e568c1e6d714 /Swift/Controllers
parent6bc9ff75b3971cc8d1c610bc348279be89c95d9d (diff)
downloadswift-a2f1c206f3468553da879e903c9cc3f175b8e52c.zip
swift-a2f1c206f3468553da879e903c9cc3f175b8e52c.tar.bz2
Multiple profiles in the login window mostly working.
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/MainController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index 15ca5f4..1de4011 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -200,6 +200,7 @@ void MainController::handleLoginRequest(const String &username, const String &pa
profileSettings->storeString("jid", username);
profileSettings->storeString("certificate", certificateFile);
profileSettings->storeString("pass", remember ? password : "");
+ loginWindow_->addAvailableAccount(profileSettings->getStringSetting("jid"), profileSettings->getStringSetting("pass"), profileSettings->getStringSetting("certificate"));
delete profileSettings;
resetClient();