diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 12:50:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | e4d34f9e3f5b2068be1a8137c75a571e9da42cda (patch) | |
tree | 97d0e13dd2f163e9ce91576b29eec8563899097c /src/gui/windows/skilldialog.cpp | |
parent | ecc414fed44c8b0ee63c0acf188a109e3867a815 (diff) | |
download | mv-e4d34f9e3f5b2068be1a8137c75a571e9da42cda.tar.gz mv-e4d34f9e3f5b2068be1a8137c75a571e9da42cda.tar.bz2 mv-e4d34f9e3f5b2068be1a8137c75a571e9da42cda.tar.xz mv-e4d34f9e3f5b2068be1a8137c75a571e9da42cda.zip |
move virtual member calls from textpopup constructor into postInit.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index e379ea425..74fb4faf5 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -70,6 +70,8 @@ class SkillListBox final : public ListBox mRowHeight(getFont()->getHeight() * 2 + mSpacing + 2 * mPadding), mSkillClicked(false) { + mPopup->postInit(); + if (mRowHeight < 34) mRowHeight = 34; } |