diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 15:42:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | 9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff (patch) | |
tree | 05f4b7dd27d335d3d547f40dfbeded25bda1011e /src/gui/popups/itempopup.cpp | |
parent | 7559ba2bf6cec8cfabae572436d80f55dacc9371 (diff) | |
download | mv-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.gz mv-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.bz2 mv-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.xz mv-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.zip |
move virtual member calls from itempopup constuctor into postInit.
Diffstat (limited to 'src/gui/popups/itempopup.cpp')
-rw-r--r-- | src/gui/popups/itempopup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp index c05073750..72fd3e0bd 100644 --- a/src/gui/popups/itempopup.cpp +++ b/src/gui/popups/itempopup.cpp @@ -77,7 +77,10 @@ ItemPopup::ItemPopup() : mItemWeight->setPosition(0, 3 * fontHeight); mItemWeight->setForegroundColorAll(getThemeColor(Theme::POPUP), getThemeColor(Theme::POPUP_OUTLINE)); +} +void ItemPopup::postInit() +{ add(mItemName); add(mItemDesc); add(mItemEffect); |