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, 4 insertions, 0 deletions
diff --git a/src/gui/windows/unregisterdialog.cpp b/src/gui/windows/unregisterdialog.cpp
index 9c445ebdd..4372ee94d 100644
--- a/src/gui/windows/unregisterdialog.cpp
+++ b/src/gui/windows/unregisterdialog.cpp
@@ -54,6 +54,10 @@ UnRegisterDialog::UnRegisterDialog(LoginData *const data) :
mCancelButton(new Button(this, _("Cancel"), "cancel", this)),
mWrongDataNoticeListener(new WrongDataNoticeListener)
{
+}
+
+void UnRegisterDialog::postInit()
+{
// TRANSLATORS: unregister dialog. label.
Label *const userLabel = new Label(this, strprintf(_("Name: %s"),
mLoginData->username.c_str()));