From a3a4d08701f03a9ce5b448d8666146afee876ada Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Sep 2014 12:06:02 +0300 Subject: Remove auctionmanager. --- src/gui/windows/shopwindow.cpp | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'src/gui/windows/shopwindow.cpp') diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 540d5f65a..d72dab6b8 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -44,7 +44,6 @@ #include "gui/widgets/shoplistbox.h" #include "actormanager.h" -#include "auctionmanager.h" #include "configuration.h" #include "inventory.h" #include "item.h" @@ -169,22 +168,8 @@ ShopWindow::ShopWindow() : placer(0, 7, mAnnounceLinks, 8); placer(15, 7, mCloseButton); - if (auctionManager && auctionManager->getEnableAuctionBot()) - { - mBuyAuctionButton = new Button(this, - // TRANSLATORS: shop window button - _("Auction"), "auction buy", this); - mSellAuctionButton = new Button(this, - // TRANSLATORS: shop window button - _("Auction"), "auction sell", this); - placer(4, 6, mBuyAuctionButton); - placer(12, 6, mSellAuctionButton); - } - else - { - mBuyAuctionButton = nullptr; - mSellAuctionButton = nullptr; - } + mBuyAuctionButton = nullptr; + mSellAuctionButton = nullptr; Layout &layout = getLayout(); layout.setRowHeight(0, LayoutType::SET); -- cgit v1.2.3-70-g09d2