summaryrefslogtreecommitdiff
path: root/src/gui/windows/logindialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 16:24:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commit8a5c8638a11b0d2c121225b79fe8e73eee9a2bca (patch)
tree7120a81e2d02d4f1cd8cc52756abc5c48bffe720 /src/gui/windows/logindialog.cpp
parent28b11ea101e08bba4a8b8b00ed553ffeb223384a (diff)
downloadmanaverse-8a5c8638a11b0d2c121225b79fe8e73eee9a2bca.tar.gz
manaverse-8a5c8638a11b0d2c121225b79fe8e73eee9a2bca.tar.bz2
manaverse-8a5c8638a11b0d2c121225b79fe8e73eee9a2bca.tar.xz
manaverse-8a5c8638a11b0d2c121225b79fe8e73eee9a2bca.zip
move virtual member calls from logindialog constuctor into postInit.
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r--src/gui/windows/logindialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index c320e0e10..f6c1baf42 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -252,6 +252,10 @@ LoginDialog::LoginDialog(LoginData *const data, std::string serverName,
reflowLayout();
center();
+}
+
+void LoginDialog::postInit()
+{
setVisible(true);
if (mUserField->getText().empty())