From 3aaebb5b7f1faf46d9f437ba00e7650147453952 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 11:59:03 +0300 Subject: Remove getter for tradeHandler. --- src/gui/widgets/itemcontainer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/widgets') 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()); } } } -- cgit v1.2.3-70-g09d2