summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/shopitems.cpp2
-rw-r--r--src/gui/widgets/shopitems.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/shopitems.cpp b/src/gui/widgets/shopitems.cpp
index 36994801f..3e46f51a4 100644
--- a/src/gui/widgets/shopitems.cpp
+++ b/src/gui/widgets/shopitems.cpp
@@ -61,7 +61,7 @@ void ShopItems::addItemNoDup(int id, int amount, int price)
mShopItems.push_back(new ShopItem(-1, id, amount, price));
}
-void ShopItems::addItem(int inventoryIndex, int id, int quantity, int price)
+void ShopItems::addItem2(int inventoryIndex, int id, int quantity, int price)
{
ShopItem *item = 0;
if (mMergeDuplicates)
diff --git a/src/gui/widgets/shopitems.h b/src/gui/widgets/shopitems.h
index 0e9a45f1d..949dcfc78 100644
--- a/src/gui/widgets/shopitems.h
+++ b/src/gui/widgets/shopitems.h
@@ -66,7 +66,7 @@ class ShopItems : public gcn::ListModel
* @param quantity number of available copies of the item
* @param price price of the item
*/
- void addItem(int inventoryIndex, int id, int amount, int price);
+ void addItem2(int inventoryIndex, int id, int amount, int price);
void addItemNoDup(int id, int amount, int price);