diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-15 19:37:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-15 19:37:39 +0300 |
commit | 413637151f0eb471ff6b28feddc028c374f96401 (patch) | |
tree | 82658c6d0e159bd34f23a8aaaa38ef11242346a4 /src/gui/windows/shopwindow.cpp | |
parent | c08b18e37eee7edce70dcc1aaba2afd2b968d330 (diff) | |
download | plus-413637151f0eb471ff6b28feddc028c374f96401.tar.gz plus-413637151f0eb471ff6b28feddc028c374f96401.tar.bz2 plus-413637151f0eb471ff6b28feddc028c374f96401.tar.xz plus-413637151f0eb471ff6b28feddc028c374f96401.zip |
Add type into ShopListBox.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index e98d9ce1a..a2793640c 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -108,9 +108,9 @@ ShopWindow::ShopWindow() : mSellShopItems(new ShopItems), mTradeItem(nullptr), mBuyShopItemList(CREATEWIDGETR(ShopListBox, - this, mBuyShopItems, mBuyShopItems)), + this, mBuyShopItems, mBuyShopItems, ShopListBoxType::BuyShop)), mSellShopItemList(CREATEWIDGETR(ShopListBox, - this, mSellShopItems, mSellShopItems)), + this, mSellShopItems, mSellShopItems, ShopListBoxType::SellShop)), mCurrentShopItemList(nullptr), mScrollArea(new ScrollArea(this, mBuyShopItemList, getOptionBool("showbuybackground"), "shop_buy_background.xml")), |