summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shoplistbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-23 22:33:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-23 22:33:26 +0300
commitc3755c31222a7cd4e90f772eb88a992dd64f6c06 (patch)
treeca0240e6b8597276a3e761d3ba18d838d8a94bc5 /src/gui/widgets/shoplistbox.cpp
parent533e703a2c394b9c4a0c0e2d7367dd5cc48c1502 (diff)
downloadplus-c3755c31222a7cd4e90f772eb88a992dd64f6c06.tar.gz
plus-c3755c31222a7cd4e90f772eb88a992dd64f6c06.tar.bz2
plus-c3755c31222a7cd4e90f772eb88a992dd64f6c06.tar.xz
plus-c3755c31222a7cd4e90f772eb88a992dd64f6c06.zip
Use in different listbox derived classes different xml skin.
Diffstat (limited to 'src/gui/widgets/shoplistbox.cpp')
-rw-r--r--src/gui/widgets/shoplistbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp
index 4c0738374..5aa91a2c9 100644
--- a/src/gui/widgets/shoplistbox.cpp
+++ b/src/gui/widgets/shoplistbox.cpp
@@ -44,7 +44,7 @@ float ShopListBox::mAlpha = 1.0;
ShopListBox::ShopListBox(const Widget2 *const widget,
gcn::ListModel *const listModel) :
- ListBox(widget, listModel),
+ ListBox(widget, listModel, "shoplisbox.xml"),
mPlayerMoney(0),
mShopItems(nullptr),
mItemPopup(new ItemPopup),
@@ -60,7 +60,7 @@ ShopListBox::ShopListBox(const Widget2 *const widget,
ShopListBox::ShopListBox(const Widget2 *const widget,
gcn::ListModel *const listModel,
ShopItems *const shopListModel) :
- ListBox(widget, listModel),
+ ListBox(widget, listModel, "shoplisbox.xml"),
mPlayerMoney(0),
mShopItems(shopListModel),
mItemPopup(new ItemPopup),