diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 13:28:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:25 +0300 |
commit | b54549e4635fcbea922d42f2d5454b0f84ebe383 (patch) | |
tree | cd93821454b43f75da9697e123e14cc22652ec36 /src/gui/windows/unregisterdialog.cpp | |
parent | 2df9083f922d9918e5a55541cfea62d4cb323c0d (diff) | |
download | manaplus-b54549e4635fcbea922d42f2d5454b0f84ebe383.tar.gz manaplus-b54549e4635fcbea922d42f2d5454b0f84ebe383.tar.bz2 manaplus-b54549e4635fcbea922d42f2d5454b0f84ebe383.tar.xz manaplus-b54549e4635fcbea922d42f2d5454b0f84ebe383.zip |
move virtual member calls from unregisterdialog constructor into postInit.
Diffstat (limited to 'src/gui/windows/unregisterdialog.cpp')
-rw-r--r-- | src/gui/windows/unregisterdialog.cpp | 4 |
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())); |