From 49965a6282c0f8273ba30ddc48d877334c39bd2a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 16:13:40 +0300 Subject: move virtual member calls from listbox constuctor into postInit. --- src/gui/windows/socialwindow.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gui/windows/socialwindow.cpp') 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"); -- cgit v1.2.3-70-g09d2