From c841447e5196a34f62860189b0960d78a0ce1ced Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 00:32:31 +0300 Subject: Remove getter for buySellHandler. --- src/gui/windows/buyselldialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/buyselldialog.cpp') diff --git a/src/gui/windows/buyselldialog.cpp b/src/gui/windows/buyselldialog.cpp index 238389ce9..f8d2ec954 100644 --- a/src/gui/windows/buyselldialog.cpp +++ b/src/gui/windows/buyselldialog.cpp @@ -132,14 +132,14 @@ void BuySellDialog::action(const ActionEvent &event) if (mNpcId != -1) Net::getNpcHandler()->buy(mNpcId); else - Net::getBuySellHandler()->requestSellList(mNick); + buySellHandler->requestSellList(mNick); } else if (eventId == "Sell") { if (mNpcId != -1) Net::getNpcHandler()->sell(mNpcId); else - Net::getBuySellHandler()->requestBuyList(mNick); + buySellHandler->requestBuyList(mNick); } close(); -- cgit v1.2.3-70-g09d2