summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/beingpopup.cpp12
-rw-r--r--src/gui/popups/beingpopup.h2
2 files changed, 10 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)
diff --git a/src/gui/popups/beingpopup.h b/src/gui/popups/beingpopup.h
index 12ba49aa0..d91464ebe 100644
--- a/src/gui/popups/beingpopup.h
+++ b/src/gui/popups/beingpopup.h
@@ -50,6 +50,8 @@ class BeingPopup final : public Popup
*/
void show(const int x, const int y, Being *const b);
+ void postInit();
+
#ifdef USE_PROFILER
void logic();
#endif