Login bug fixed. Now result can't send to server without login.
[speedfreak] / Client / settingsdialog.cpp
index ab584e9..fb5d7c0 100644 (file)
@@ -199,5 +199,8 @@ void SettingsDialog::usernameOk(bool isOk)
         ui->setUserPushButton->setText("Log in");
         ui->setUserUsernameLineEdit->clear();
         ui->setUserPasswordLineEdit->clear();
+        this->username = ui->setUserUsernameLineEdit->text();
+        this->password = ui->setUserPasswordLineEdit->text();
+        saveLogin( this->username, this->password);
     }
 }