diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 22:45:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | 799ff280e470e19fdb617f828962c49f561a22d7 (patch) | |
tree | fd8b5b2ab6f302577b2e54c39d1505418c15284e /src/gui/windows/skilldialog.cpp | |
parent | e78d28f8c13cb1ddcf0450a5afe51afd0e34aa08 (diff) | |
download | mv-799ff280e470e19fdb617f828962c49f561a22d7.tar.gz mv-799ff280e470e19fdb617f828962c49f561a22d7.tar.bz2 mv-799ff280e470e19fdb617f828962c49f561a22d7.tar.xz mv-799ff280e470e19fdb617f828962c49f561a22d7.zip |
move virtual member calls from skilldialog constuctor into postInit.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index ffc76ae81..61227d275 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -306,7 +306,10 @@ SkillDialog::SkillDialog() : place(0, 5, mPointsLabel, 4); place(3, 5, mUseButton); place(4, 5, mIncreaseButton); +} +void SkillDialog::postInit() +{ setLocationRelativeTo(getParent()); loadWindowState(); enableVisibleSound(true); |