diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 00:32:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 00:32:31 +0300 |
commit | c841447e5196a34f62860189b0960d78a0ce1ced (patch) | |
tree | e5f05710175f701377cedd9345488726d0224c33 /src/gui/windows/buyselldialog.cpp | |
parent | e5698022dfae8aec4c9b4696dc6a93d5edc84d5d (diff) | |
download | plus-c841447e5196a34f62860189b0960d78a0ce1ced.tar.gz plus-c841447e5196a34f62860189b0960d78a0ce1ced.tar.bz2 plus-c841447e5196a34f62860189b0960d78a0ce1ced.tar.xz plus-c841447e5196a34f62860189b0960d78a0ce1ced.zip |
Remove getter for buySellHandler.
Diffstat (limited to 'src/gui/windows/buyselldialog.cpp')
-rw-r--r-- | src/gui/windows/buyselldialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |