summaryrefslogtreecommitdiff
path: root/src/gui/widgets/listbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 19:46:23 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 21:52:08 +0300
commitc0d5142d1ed98b62ad87603fa9d2620dce256bd7 (patch)
tree6acc4c089999353ef39c83c3bef34bbf89dbfdd3 /src/gui/widgets/listbox.cpp
parente85c6227064c905945a4d49a5e11a0078243a1ac (diff)
downloadmanaplus-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.tar.gz
manaplus-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.tar.bz2
manaplus-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.tar.xz
manaplus-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.zip
add consts in gui classes.
Diffstat (limited to 'src/gui/widgets/listbox.cpp')
-rw-r--r--src/gui/widgets/listbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp
index f5b926ad7..0889bac15 100644
--- a/src/gui/widgets/listbox.cpp
+++ b/src/gui/widgets/listbox.cpp
@@ -57,7 +57,7 @@ ListBox::ListBox(const Widget2 *const widget,
Theme *const theme = Theme::instance();
if (theme)
- mSkin = Theme::instance()->load(skin, "listbox.xml");
+ mSkin = theme->load(skin, "listbox.xml");
if (mSkin)
mPadding = mSkin->getPadding();