diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 21:26:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | 74e429575a1ace40339e3a7c73250548aec85247 (patch) | |
tree | 077226742441d79a19c2b2cdf89b537d3b3ca33d /src/gui/windows/serverdialog.cpp | |
parent | 7db67f02a28449006a1fb872f82612fd9d89bb61 (diff) | |
download | manaverse-74e429575a1ace40339e3a7c73250548aec85247.tar.gz manaverse-74e429575a1ace40339e3a7c73250548aec85247.tar.bz2 manaverse-74e429575a1ace40339e3a7c73250548aec85247.tar.xz manaverse-74e429575a1ace40339e3a7c73250548aec85247.zip |
move virtual member calls from serverdialog constuctor into postInit.
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index d1ec6f0df..a8895cad9 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -330,7 +330,10 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo, addKeyListener(this); loadWindowState(); +} +void ServerDialog::postInit() +{ setVisible(true); mConnectButton->requestFocus(); |