diff options
Diffstat (limited to 'src/gui/widgets/tabs/socialpartytab.h')
-rw-r--r-- | src/gui/widgets/tabs/socialpartytab.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/socialpartytab.h b/src/gui/widgets/tabs/socialpartytab.h index 79209ac06..dc86fb958 100644 --- a/src/gui/widgets/tabs/socialpartytab.h +++ b/src/gui/widgets/tabs/socialpartytab.h @@ -54,13 +54,7 @@ class SocialPartyTab final : public SocialTab, setSelectedTabColor(&getThemeColor(Theme::PARTY_SOCIAL_TAB_SELECTED), &getThemeColor(Theme::PARTY_SOCIAL_TAB_SELECTED_OUTLINE)); - mList = new AvatarListBox(this, party); - mList->postInit(); - mScroll = new ScrollArea(this, mList, showBackground, - "social_background.xml"); - - mScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_AUTO); - mScroll->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS); + createControls(party, showBackground); } A_DELETE_COPY(SocialPartyTab) |