summaryrefslogtreecommitdiff
path: root/src/gui/widgets/avatarlistbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 23:08:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 23:08:57 +0300
commitf5e9f2eddf051bf814c6cc59dd1ace32d0b97a76 (patch)
tree3c1b972c6fd0fb5316ab49ed773404f783c25250 /src/gui/widgets/avatarlistbox.cpp
parent25f7a598965384801dfd11f3abb8dbeb0df3f078 (diff)
downloadplus-f5e9f2eddf051bf814c6cc59dd1ace32d0b97a76.tar.gz
plus-f5e9f2eddf051bf814c6cc59dd1ace32d0b97a76.tar.bz2
plus-f5e9f2eddf051bf814c6cc59dd1ace32d0b97a76.tar.xz
plus-f5e9f2eddf051bf814c6cc59dd1ace32d0b97a76.zip
move bools in avatarlistbox.
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++;