summaryrefslogtreecommitdiff
path: root/src/gui/widgets/avatarlistbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index 3792906d2..1bb3ca235 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -46,9 +46,9 @@ Image *AvatarListBox::offlineIcon = nullptr;
AvatarListBox::AvatarListBox(const Widget2 *const widget,
AvatarListModel *const model) :
ListBox(widget, model, "avatarlistbox.xml"),
+ mImagePadding(mSkin ? mSkin->getOption("imagePadding") : 0),
mShowGender(config.getBoolValue("showgender")),
- mShowLevel(config.getBoolValue("showlevel")),
- mImagePadding(mSkin ? mSkin->getOption("imagePadding") : 0)
+ mShowLevel(config.getBoolValue("showlevel"))
{
instances++;