summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 23:56:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 00:02:02 +0300
commit9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8 (patch)
treea1116647b9e40fe8a7f710e09434301da137a785 /src/gui/windows
parentf5c479fa193fb4199872aabcb73d35f872caa87f (diff)
downloadplus-9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8.tar.gz
plus-9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8.tar.bz2
plus-9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8.tar.xz
plus-9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8.zip
Remove getter for adminHandler.
Diffstat (limited to 'src/gui/windows')
-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 ce22252a0..c09044f7b 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -434,7 +434,7 @@ void BuyDialog::action(const ActionEvent &event)
if (mNpcId == -2)
{
const ShopItem *const item = mShopItems->at(selectedItem);
- Net::getAdminHandler()->createItems(item->getId(),
+ adminHandler->createItems(item->getId(),
mAmountItems, item->getColor());
}
else if (mNpcId != -1)