diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-24 14:55:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-25 20:06:07 +0300 |
commit | 9d521a19be347703bfdbb7802d0397a59c3edd7a (patch) | |
tree | 9a4e56edc84d5cfd8ebaea17fa19296c51e1e661 /src/gui/windows/unregisterdialog.cpp | |
parent | 841fe55e67ea467a8e2192dee5c169d282a35148 (diff) | |
download | manaverse-9d521a19be347703bfdbb7802d0397a59c3edd7a.tar.gz manaverse-9d521a19be347703bfdbb7802d0397a59c3edd7a.tar.bz2 manaverse-9d521a19be347703bfdbb7802d0397a59c3edd7a.tar.xz manaverse-9d521a19be347703bfdbb7802d0397a59c3edd7a.zip |
Add missing checks in windows.
Diffstat (limited to 'src/gui/windows/unregisterdialog.cpp')
-rw-r--r-- | src/gui/windows/unregisterdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/unregisterdialog.cpp b/src/gui/windows/unregisterdialog.cpp index c789de720..80a02a952 100644 --- a/src/gui/windows/unregisterdialog.cpp +++ b/src/gui/windows/unregisterdialog.cpp @@ -43,11 +43,11 @@ #include "debug.h" -UnRegisterDialog::UnRegisterDialog(LoginData *const data) : +UnRegisterDialog::UnRegisterDialog(LoginData &data) : // TRANSLATORS: unregister dialog name Window(_("Unregister"), Modal_true, nullptr, "unregister.xml"), ActionListener(), - mLoginData(data), + mLoginData(&data), mPasswordField(new PasswordField(this, mLoginData->password)), // TRANSLATORS: unregister dialog. button. mUnRegisterButton(new Button(this, _("Unregister"), "unregister", this)), |