summaryrefslogtreecommitdiff
path: root/src/gui/windows/itemamountwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-24 15:31:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-24 15:31:06 +0300
commit3f5c128b889b4cb41f9782fe1531c55e7d07432f (patch)
treeb5903e10142f876d29bf4d4643261f1b058fefe9 /src/gui/windows/itemamountwindow.cpp
parentc53839e9125a72e2bbc5e479934b5b9111bef5d6 (diff)
downloadplus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.gz
plus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.bz2
plus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.xz
plus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.zip
Move inventory type into separate file.
Diffstat (limited to 'src/gui/windows/itemamountwindow.cpp')
-rw-r--r--src/gui/windows/itemamountwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp
index 0715a2bbe..19d18eef8 100644
--- a/src/gui/windows/itemamountwindow.cpp
+++ b/src/gui/windows/itemamountwindow.cpp
@@ -69,12 +69,12 @@ void ItemAmountWindow::finish(const Item *const item,
inventoryHandler->splitItem(item, amount);
break;
case StoreAdd:
- inventoryHandler->moveItem2(Inventory::INVENTORY,
- item->getInvIndex(), amount, Inventory::STORAGE);
+ inventoryHandler->moveItem2(InventoryType::INVENTORY,
+ item->getInvIndex(), amount, InventoryType::STORAGE);
break;
case StoreRemove:
- inventoryHandler->moveItem2(Inventory::STORAGE,
- item->getInvIndex(), amount, Inventory::INVENTORY);
+ inventoryHandler->moveItem2(InventoryType::STORAGE,
+ item->getInvIndex(), amount, InventoryType::INVENTORY);
break;
case ShopBuyAdd:
if (shopWindow)