From b162094c7609fa37f2eef6be3fed0e26830bc506 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 15 Sep 2012 23:05:16 +0300 Subject: Improve a bit widgets speed. --- src/gui/widgets/shopitems.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/gui/widgets/shopitems.cpp') diff --git a/src/gui/widgets/shopitems.cpp b/src/gui/widgets/shopitems.cpp index d91e25304..7aa8f40b4 100644 --- a/src/gui/widgets/shopitems.cpp +++ b/src/gui/widgets/shopitems.cpp @@ -38,16 +38,6 @@ ShopItems::~ShopItems() clear(); } -int ShopItems::getNumberOfElements() -{ - return static_cast(mShopItems.size()); -} - -bool ShopItems::empty() const -{ - return mShopItems.empty(); -} - std::string ShopItems::getElementAt(int i) { if (i < 0 || static_cast(i) >= mShopItems.size() -- cgit v1.2.3-60-g2f50