diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/changepassworddialog.cpp | 6 | ||||
-rw-r--r-- | src/gui/windows/registerdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/textdialog.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/changepassworddialog.cpp b/src/gui/windows/changepassworddialog.cpp index 92b023948..06ab8a9a0 100644 --- a/src/gui/windows/changepassworddialog.cpp +++ b/src/gui/windows/changepassworddialog.cpp @@ -48,9 +48,9 @@ ChangePasswordDialog::ChangePasswordDialog(LoginData &data) : // TRANSLATORS: change password window name Window(_("Change Password"), Modal_true, nullptr, "changepassword.xml"), ActionListener(), - mOldPassField(new PasswordField(this)), - mFirstPassField(new PasswordField(this)), - mSecondPassField(new PasswordField(this)), + mOldPassField(new PasswordField(this, std::string())), + mFirstPassField(new PasswordField(this, std::string())), + mSecondPassField(new PasswordField(this, std::string())), // TRANSLATORS: change password dialog button mChangePassButton(new Button(this, _("Change Password"), "change_password", this)), diff --git a/src/gui/windows/registerdialog.cpp b/src/gui/windows/registerdialog.cpp index a033e9000..0f19e572e 100644 --- a/src/gui/windows/registerdialog.cpp +++ b/src/gui/windows/registerdialog.cpp @@ -56,7 +56,7 @@ RegisterDialog::RegisterDialog(LoginData &data) : mLoginData(&data), mUserField(new TextField(this, mLoginData->username)), mPasswordField(new PasswordField(this, mLoginData->password)), - mConfirmField(new PasswordField(this)), + mConfirmField(new PasswordField(this, std::string())), mEmailField(nullptr), // TRANSLATORS: register dialog. button. mRegisterButton(new Button(this, _("Register"), "register", this)), diff --git a/src/gui/windows/textdialog.cpp b/src/gui/windows/textdialog.cpp index ee6e58a00..d73c056d0 100644 --- a/src/gui/windows/textdialog.cpp +++ b/src/gui/windows/textdialog.cpp @@ -62,7 +62,7 @@ TextDialog::TextDialog(const std::string &restrict title, place(0, 0, textLabel, 4, 1); if (isPassword) { - mPasswordField = new PasswordField(this); + mPasswordField = new PasswordField(this, std::string()); place(0, 1, mPasswordField, 4, 1); } else |