diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 22:07:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | 99dd72331c152c07ec3aba5139f9c4c2e9b94a0e (patch) | |
tree | 8e65b168c7803ac18b96637a9555a9092dfeaa5a /src/gui | |
parent | 74e429575a1ace40339e3a7c73250548aec85247 (diff) | |
download | manaverse-99dd72331c152c07ec3aba5139f9c4c2e9b94a0e.tar.gz manaverse-99dd72331c152c07ec3aba5139f9c4c2e9b94a0e.tar.bz2 manaverse-99dd72331c152c07ec3aba5139f9c4c2e9b94a0e.tar.xz manaverse-99dd72331c152c07ec3aba5139f9c4c2e9b94a0e.zip |
move virtual member calls from setup constuctor into postInit.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/setup.cpp | 3 | ||||
-rw-r--r-- | src/gui/windows/setup.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/setup.cpp b/src/gui/windows/setup.cpp index a7102204c..c893b97ee 100644 --- a/src/gui/windows/setup.cpp +++ b/src/gui/windows/setup.cpp @@ -67,7 +67,10 @@ Setup::Setup() : setCloseButton(true); setResizable(true); setStickyButtonLock(true); +} +void Setup::postInit() +{ int width = 620; const int height = 450; diff --git a/src/gui/windows/setup.h b/src/gui/windows/setup.h index 5b299511b..e230dfe22 100644 --- a/src/gui/windows/setup.h +++ b/src/gui/windows/setup.h @@ -49,6 +49,8 @@ class Setup final : public Window, public gcn::ActionListener ~Setup(); + void postInit(); + void action(const gcn::ActionEvent &event) override; void setInGame(const bool inGame); |