diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-24 15:31:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-24 15:31:06 +0300 |
commit | 3f5c128b889b4cb41f9782fe1531c55e7d07432f (patch) | |
tree | b5903e10142f876d29bf4d4643261f1b058fefe9 /src/gui/popups | |
parent | c53839e9125a72e2bbc5e479934b5b9111bef5d6 (diff) | |
download | manaplus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.gz manaplus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.bz2 manaplus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.xz manaplus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.zip |
Move inventory type into separate file.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |