summaryrefslogtreecommitdiff
path: root/src/gui/windows/logindialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-17 23:53:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:18 +0300
commit649348f19cdb3d65f825a2a3270b185fc9d83c75 (patch)
tree3a31f64178d266383899c67782843736578e580e /src/gui/windows/logindialog.cpp
parent0c6d457fe227ba9fd0a7c4c51cc2eb5995ca2c19 (diff)
downloadManaVerse-649348f19cdb3d65f825a2a3270b185fc9d83c75.tar.gz
ManaVerse-649348f19cdb3d65f825a2a3270b185fc9d83c75.tar.bz2
ManaVerse-649348f19cdb3d65f825a2a3270b185fc9d83c75.tar.xz
ManaVerse-649348f19cdb3d65f825a2a3270b185fc9d83c75.zip
move virtual member calls from confirmdialog constuctor into postInit.
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r--src/gui/windows/logindialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index ab80e2db1..c320e0e10 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -299,6 +299,7 @@ void LoginDialog::action(const gcn::ActionEvent &event)
// TRANSLATORS: question dialog
ConfirmDialog *const confirmDlg = new ConfirmDialog(
_("Open register url"), url, SOUND_REQUEST, false, true);
+ confirmDlg->postInit();
confirmDlg->addActionListener(&urlListener);
}
}