summaryrefslogtreecommitdiff
path: root/src/gui/windows/unregisterdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/unregisterdialog.cpp')
-rw-r--r--src/gui/windows/unregisterdialog.cpp4
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)),