summaryrefslogtreecommitdiff
path: root/src/gui/windows/registerdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 18:43:50 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 18:43:50 +0300
commit040fac18a01fbfe6cbff4ffa24e6543df148bafe (patch)
tree221f7872194a2d736aadb29acfabb5ba7e273ed1 /src/gui/windows/registerdialog.cpp
parentf444f23a15f8470c03f84bf35af57b6596e066a4 (diff)
downloadplus-040fac18a01fbfe6cbff4ffa24e6543df148bafe.tar.gz
plus-040fac18a01fbfe6cbff4ffa24e6543df148bafe.tar.bz2
plus-040fac18a01fbfe6cbff4ffa24e6543df148bafe.tar.xz
plus-040fac18a01fbfe6cbff4ffa24e6543df148bafe.zip
Remove default parameters from passwordfield.
Diffstat (limited to 'src/gui/windows/registerdialog.cpp')
-rw-r--r--src/gui/windows/registerdialog.cpp2
1 files changed, 1 insertions, 1 deletions
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)),