summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r--src/gui/windows/buydialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index c09044f7b..c86ef184a 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -459,7 +459,7 @@ void BuyDialog::action(const ActionEvent &event)
const ShopItem *const item = mShopItems->at(selectedItem);
if (item)
{
- Net::getBuySellHandler()->sendBuyRequest(mNick,
+ buySellHandler->sendBuyRequest(mNick,
item, mAmountItems);
tradeWindow->addAutoMoney(mNick,
item->getPrice() * mAmountItems);