diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:55:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:55:20 +0300 |
commit | fd050698f74b5dc7a9867bc93ba6b7c65ef2462f (patch) | |
tree | 246017e7d1b399e60a5d7b97a7106cd75587b88f /src/gui/widgets | |
parent | 4228763829f71ec4db50ed185483d7707c5e47eb (diff) | |
download | manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.gz manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.bz2 manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.xz manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.zip |
Remove getter for inventoryHandler.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index d3a57a71b..aa8966620 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -497,7 +497,7 @@ void ItemContainer::mouseReleased(MouseEvent &event) return; if (index == mSelectedIndex || mSelectedIndex == -1) return; - Net::getInventoryHandler()->moveItem(mSelectedIndex, index); + inventoryHandler->moveItem(mSelectedIndex, index); selectNone(); } else if (mInventory) @@ -570,7 +570,7 @@ void ItemContainer::mouseReleased(MouseEvent &event) { if (srcContainer != -1) { // inventory <--> storage - Net::getInventoryHandler()->moveItem2(srcContainer, + inventoryHandler->moveItem2(srcContainer, item->getInvIndex(), item->getQuantity(), dstContainer); } |