diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-17 21:38:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:17 +0300 |
commit | d425e370aeea834cac28b3d4b412538645330c86 (patch) | |
tree | 78e7467184939044f57305dde32035c6751b71eb /src/gui/popups/beingpopup.cpp | |
parent | 71d7483a1d35a7068c456dfe6d3c0e54f1ae71a3 (diff) | |
download | plus-d425e370aeea834cac28b3d4b412538645330c86.tar.gz plus-d425e370aeea834cac28b3d4b412538645330c86.tar.bz2 plus-d425e370aeea834cac28b3d4b412538645330c86.tar.xz plus-d425e370aeea834cac28b3d4b412538645330c86.zip |
add postInit function into popup.
use postInit in beingpopup.
Diffstat (limited to 'src/gui/popups/beingpopup.cpp')
-rw-r--r-- | src/gui/popups/beingpopup.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp index b7e5c91ee..d36fcd28d 100644 --- a/src/gui/popups/beingpopup.cpp +++ b/src/gui/popups/beingpopup.cpp @@ -65,6 +65,14 @@ BeingPopup::BeingPopup() : mBeingComment->setForegroundColorAll(getThemeColor(Theme::POPUP), getThemeColor(Theme::POPUP_OUTLINE)); +} + +BeingPopup::~BeingPopup() +{ +} + +void BeingPopup::postInit() +{ add(mBeingName); add(mBeingParty); add(mBeingGuild); @@ -72,10 +80,6 @@ BeingPopup::BeingPopup() : add(mBeingComment); } -BeingPopup::~BeingPopup() -{ -} - void BeingPopup::show(const int x, const int y, Being *const b) { if (!b) |