diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:01:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:25 +0300 |
commit | 3feb3ff102358390f11a032ac98870656cdd639a (patch) | |
tree | b07d58cad8e5e30fbaf91fb1a7559107613dd7c2 /src/gui/windows/worldselectdialog.cpp | |
parent | ff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459 (diff) | |
download | manaplus-3feb3ff102358390f11a032ac98870656cdd639a.tar.gz manaplus-3feb3ff102358390f11a032ac98870656cdd639a.tar.bz2 manaplus-3feb3ff102358390f11a032ac98870656cdd639a.tar.xz manaplus-3feb3ff102358390f11a032ac98870656cdd639a.zip |
move virtual member calls from worldselectdialog constructor into postInit.
Diffstat (limited to 'src/gui/windows/worldselectdialog.cpp')
-rw-r--r-- | src/gui/windows/worldselectdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp index 3d9581164..b3686ee10 100644 --- a/src/gui/windows/worldselectdialog.cpp +++ b/src/gui/windows/worldselectdialog.cpp @@ -120,6 +120,10 @@ WorldSelectDialog::WorldSelectDialog(Worlds worlds): addKeyListener(this); center(); +} + +void WorldSelectDialog::postInit() +{ setVisible(true); mChooseWorld->requestFocus(); } |