diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 16:13:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | 49965a6282c0f8273ba30ddc48d877334c39bd2a (patch) | |
tree | bb65a6d5394dda9d87a6694876b18fb586427184 /src/gui/windows/socialwindow.cpp | |
parent | 0e316e6ce75b3dca91a824b050410804441f593e (diff) | |
download | manaplus-49965a6282c0f8273ba30ddc48d877334c39bd2a.tar.gz manaplus-49965a6282c0f8273ba30ddc48d877334c39bd2a.tar.bz2 manaplus-49965a6282c0f8273ba30ddc48d877334c39bd2a.tar.xz manaplus-49965a6282c0f8273ba30ddc48d877334c39bd2a.zip |
move virtual member calls from listbox constuctor into postInit.
Diffstat (limited to 'src/gui/windows/socialwindow.cpp')
-rw-r--r-- | src/gui/windows/socialwindow.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp index e54d0bf55..74b01ef27 100644 --- a/src/gui/windows/socialwindow.cpp +++ b/src/gui/windows/socialwindow.cpp @@ -189,6 +189,7 @@ public: &getThemeColor(Theme::GUILD_SOCIAL_TAB_SELECTED_OUTLINE)); mList = new AvatarListBox(this, guild); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -322,6 +323,7 @@ public: &getThemeColor(Theme::GUILD_SOCIAL_TAB_SELECTED_OUTLINE)); mList = new AvatarListBox(this, guild); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -389,6 +391,7 @@ public: &getThemeColor(Theme::PARTY_SOCIAL_TAB_SELECTED_OUTLINE)); mList = new AvatarListBox(this, party); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -537,6 +540,7 @@ public: mBeings(new BeingsListModal) { mList = new AvatarListBox(this, mBeings); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -702,6 +706,7 @@ public: mBeings(new BeingsListModal) { mList = new AvatarListBox(this, mBeings); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -1030,6 +1035,7 @@ public: mBeings(new BeingsListModal) { mList = new AvatarListBox(this, mBeings); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -1076,6 +1082,7 @@ public: mBeings(new BeingsListModal) { mList = new AvatarListBox(this, mBeings); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -1121,6 +1128,7 @@ public: mBeings(new BeingsListModal) { mList = new AvatarListBox(this, mBeings); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); |