X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fsettingsdialog.cpp;h=4729a01520c4c133678377aab230354cfbc0ebfc;hp=935b88d47069c21a6e70732ee5cf3ea7af5f0c57;hb=eb8665a8c4b6a15a9d5a9f5b348432293d171ae6;hpb=f3a1efc20f17e6473b97c71346cc688f498aaf47 diff --git a/Client/settingsdialog.cpp b/Client/settingsdialog.cpp index 935b88d..4729a01 100644 --- a/Client/settingsdialog.cpp +++ b/Client/settingsdialog.cpp @@ -206,10 +206,9 @@ void SettingsDialog::usernameOk(bool isOk) else { ui->setUserPushButton->setText("Log in"); - ui->setUserUsernameLineEdit->clear(); ui->setUserPasswordLineEdit->clear(); - this->username = ui->setUserUsernameLineEdit->text(); - this->password = ui->setUserPasswordLineEdit->text(); + this->username = ""; + this->password = ""; saveLogin( this->username, this->password); ui->pushButtonProfile->setDisabled(true); }