From 9d521a19be347703bfdbb7802d0397a59c3edd7a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Jun 2015 14:55:44 +0300 Subject: Add missing checks in windows. --- src/gui/windows/changeemaildialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/changeemaildialog.cpp') diff --git a/src/gui/windows/changeemaildialog.cpp b/src/gui/windows/changeemaildialog.cpp index c5259e33a..1e069e6eb 100644 --- a/src/gui/windows/changeemaildialog.cpp +++ b/src/gui/windows/changeemaildialog.cpp @@ -43,7 +43,7 @@ #include "debug.h" -ChangeEmailDialog::ChangeEmailDialog(LoginData *const data) : +ChangeEmailDialog::ChangeEmailDialog(LoginData &data) : // TRANSLATORS: change email dialog header Window(_("Change Email Address"), Modal_true, nullptr, "changeemail.xml"), ActionListener(), @@ -55,7 +55,7 @@ ChangeEmailDialog::ChangeEmailDialog(LoginData *const data) : // TRANSLATORS: button in change email dialog mCancelButton(new Button(this, _("Cancel"), "cancel", this)), mWrongDataNoticeListener(new WrongDataNoticeListener), - mLoginData(data) + mLoginData(&data) { // TRANSLATORS: label in change email dialog Label *const accountLabel = new Label(this, strprintf(_("Account: %s"), -- cgit v1.2.3-70-g09d2