From 3f5c128b889b4cb41f9782fe1531c55e7d07432f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Jan 2015 15:31:06 +0300 Subject: Move inventory type into separate file. --- src/gui/popups/popupmenu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/popups/popupmenu.cpp') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 365970fa4..af207dffe 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1631,7 +1631,7 @@ void PopupMenu::showPopup(Window *const parent, switch (type) { - case Inventory::INVENTORY: + case InventoryType::INVENTORY: if (tradeWindow && tradeWindow->isWindowVisible() && !isProtected) { // TRANSLATORS: popup menu item @@ -1693,7 +1693,7 @@ void PopupMenu::showPopup(Window *const parent, addUseDrop(item, isProtected); break; - case Inventory::STORAGE: + case InventoryType::STORAGE: // TRANSLATORS: popup menu item // TRANSLATORS: get item from storage mBrowserBox->addRow("/storagetoinv 'INVINDEX'", _("Retrieve")); @@ -1721,8 +1721,8 @@ void PopupMenu::showPopup(Window *const parent, } break; - case Inventory::CART: - case Inventory::TRADE: + case InventoryType::CART: + case InventoryType::TRADE: default: break; } -- cgit v1.2.3-70-g09d2