diff options
Diffstat (limited to 'src/gui/widgets/tabs/socialplayerstab.h')
-rw-r--r-- | src/gui/widgets/tabs/socialplayerstab.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/socialplayerstab.h b/src/gui/widgets/tabs/socialplayerstab.h index 5e625b06e..2026a6346 100644 --- a/src/gui/widgets/tabs/socialplayerstab.h +++ b/src/gui/widgets/tabs/socialplayerstab.h @@ -34,13 +34,7 @@ class SocialPlayersTab final : public SocialTab SocialTab(widget), mBeings(new BeingsListModel) { - mList = new AvatarListBox(this, mBeings); - mList->postInit(); - mScroll = new ScrollArea(this, mList, showBackground, - "social_background.xml"); - - mScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_AUTO); - mScroll->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS); + createControls(mBeings, showBackground); getPlayersAvatars(); setCaption(name); |