Fix Quassel not being able to login to core without remembering the password.
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 22 Jan 2008 14:52:19 +0000 (14:52 +0000)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 22 Jan 2008 14:52:19 +0000 (14:52 +0000)
src/qtui/coreconnectdlg.cpp

index 0e3fa4f..a3585f7 100644 (file)
@@ -272,7 +272,7 @@ void CoreConnectDlg::doLogin() {
   else account.remove("Password");
   CoreAccountSettings s;
   s.storeAccount(accountName, account);
-  clientSyncer->loginToCore(account["User"].toString(), account["Password"].toString());
+  clientSyncer->loginToCore(ui.user->text(), ui.password->text());
 }
 
 void CoreConnectDlg::setLoginWidgetStates() {