summaryrefslogtreecommitdiff
path: root/src/gui/windows/changepassworddialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-24 14:55:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-25 20:06:07 +0300
commit9d521a19be347703bfdbb7802d0397a59c3edd7a (patch)
tree9a4e56edc84d5cfd8ebaea17fa19296c51e1e661 /src/gui/windows/changepassworddialog.cpp
parent841fe55e67ea467a8e2192dee5c169d282a35148 (diff)
downloadmanaplus-9d521a19be347703bfdbb7802d0397a59c3edd7a.tar.gz
manaplus-9d521a19be347703bfdbb7802d0397a59c3edd7a.tar.bz2
manaplus-9d521a19be347703bfdbb7802d0397a59c3edd7a.tar.xz
manaplus-9d521a19be347703bfdbb7802d0397a59c3edd7a.zip
Add missing checks in windows.
Diffstat (limited to 'src/gui/windows/changepassworddialog.cpp')
-rw-r--r--src/gui/windows/changepassworddialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/changepassworddialog.cpp b/src/gui/windows/changepassworddialog.cpp
index cd2207a9f..051448e6f 100644
--- a/src/gui/windows/changepassworddialog.cpp
+++ b/src/gui/windows/changepassworddialog.cpp
@@ -44,7 +44,7 @@
#include "debug.h"
-ChangePasswordDialog::ChangePasswordDialog(LoginData *const data) :
+ChangePasswordDialog::ChangePasswordDialog(LoginData &data) :
// TRANSLATORS: change password window name
Window(_("Change Password"), Modal_true, nullptr, "changepassword.xml"),
ActionListener(),
@@ -57,7 +57,7 @@ ChangePasswordDialog::ChangePasswordDialog(LoginData *const data) :
// TRANSLATORS: change password dialog button
mCancelButton(new Button(this, _("Cancel"), "cancel", this)),
mWrongDataNoticeListener(new WrongDataNoticeListener),
- mLoginData(data)
+ mLoginData(&data)
{
Label *const accountLabel = new Label(this,
// TRANSLATORS: change password dialog label