diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:59:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:59:03 +0300 |
commit | 3aaebb5b7f1faf46d9f437ba00e7650147453952 (patch) | |
tree | fa5f0949dd16db6b30b0132a02f33d3fe784acb0 /src/gui/widgets/itemcontainer.cpp | |
parent | c81a850333f6e651e0dddb764e98a0fae45ca5f4 (diff) | |
download | plus-3aaebb5b7f1faf46d9f437ba00e7650147453952.tar.gz plus-3aaebb5b7f1faf46d9f437ba00e7650147453952.tar.bz2 plus-3aaebb5b7f1faf46d9f437ba00e7650147453952.tar.xz plus-3aaebb5b7f1faf46d9f437ba00e7650147453952.zip |
Remove getter for tradeHandler.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index aa8966620..1d18c3e2e 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -579,8 +579,7 @@ void ItemContainer::mouseReleased(MouseEvent &event) if (!checkProtection || !PlayerInfo::isItemProtected( item->getId())) { - Net::getTradeHandler()->addItem(item, - item->getQuantity()); + tradeHandler->addItem(item, item->getQuantity()); } } } |