{
ui->setupUi(this);
this->setWindowTitle("Settings");
- this->ui->regEMailLineEdit->setText("@meili.fi");
- instructionsDialog = new InstructionsDialog;
+ this->ui->regEMailLineEdit->setText("@");
if (loginSaved())
{
}
//
-// Help
-//
-void SettingsDialog::on_pushButtonHelp_clicked()
-{
- instructionsDialog->show();
-}
-
-//
// Registrate
//
void SettingsDialog::on_registratePushButton_clicked()
emit sendregistration();
- close();
+ //close(); //using close() hides popup-window which reports error from server
}
// Next 6 functions can be removed if Settingsdialog is implemented without
}
emit userNameChanged();
- close();
+
+ //close(); //using close() hides popup-window which reports error from server
}
// Next 4 functions can be removed if Settingsdialog is implemented without
return this->password;
}
+void SettingsDialog::setLabelInfoToUser(QString infoText)
+{
+ this->ui->labelInfoToUser->setText(infoText);
+}