diff options
Diffstat (limited to 'src/gui/widgets/tabs/socialguildtab2.h')
-rw-r--r-- | src/gui/widgets/tabs/socialguildtab2.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/socialguildtab2.h b/src/gui/widgets/tabs/socialguildtab2.h index 0ac832f6c..62d55982a 100644 --- a/src/gui/widgets/tabs/socialguildtab2.h +++ b/src/gui/widgets/tabs/socialguildtab2.h @@ -50,13 +50,7 @@ class SocialGuildTab2 final : public SocialTab, setSelectedTabColor(&getThemeColor(Theme::GUILD_SOCIAL_TAB_SELECTED), &getThemeColor(Theme::GUILD_SOCIAL_TAB_SELECTED_OUTLINE)); - mList = new AvatarListBox(this, guild); - mList->postInit(); - mScroll = new ScrollArea(this, mList, showBackground, - "social_background.xml"); - - mScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_AUTO); - mScroll->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS); + createControls(guild, showBackground); } A_DELETE_COPY(SocialGuildTab2) |