diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-16 16:18:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-16 16:18:29 +0300 |
commit | c94a736ddcf5299b6eacb9cfd5c09c6266dd78aa (patch) | |
tree | 356f87aac5b794fa4e0903a15ec83f55f52f7b00 /src/gui/widgets/itemcontainer.cpp | |
parent | e811e48760c7f9a22615f40a0b025d34b9f12eb0 (diff) | |
download | plus-c94a736ddcf5299b6eacb9cfd5c09c6266dd78aa.tar.gz plus-c94a736ddcf5299b6eacb9cfd5c09c6266dd78aa.tar.bz2 plus-c94a736ddcf5299b6eacb9cfd5c09c6266dd78aa.tar.xz plus-c94a736ddcf5299b6eacb9cfd5c09c6266dd78aa.zip |
Move itemamountwindowusage enum into separate file.
Also convert it to strong typed enum.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index f7f7ceb96..afdf91e79 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -878,7 +878,8 @@ void ItemContainer::mouseReleased(MouseEvent &event) if (item->getQuantity() > 1 && !inputManager.isActionActive(InputAction::STOP_ATTACK)) { - ItemAmountWindow::showWindow(ItemAmountWindow::CraftAdd, + ItemAmountWindow::showWindow( + ItemAmountWindowUsage::CraftAdd, npcHandler->getCurrentNpcDialog(), item, 0, |