diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-28 12:06:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-28 12:06:02 +0300 |
commit | a3a4d08701f03a9ce5b448d8666146afee876ada (patch) | |
tree | 7c4f5e279955993d6a2800b8ce62a1e265c05cf5 /src/gui | |
parent | 1d886c8a482f95f92aa3f6d393435fa033eb56bb (diff) | |
download | manaverse-a3a4d08701f03a9ce5b448d8666146afee876ada.tar.gz manaverse-a3a4d08701f03a9ce5b448d8666146afee876ada.tar.bz2 manaverse-a3a4d08701f03a9ce5b448d8666146afee876ada.tar.xz manaverse-a3a4d08701f03a9ce5b448d8666146afee876ada.zip |
Remove auctionmanager.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/tabs/setup_other.cpp | 5 | ||||
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 19 |
2 files changed, 2 insertions, 22 deletions
diff --git a/src/gui/widgets/tabs/setup_other.cpp b/src/gui/widgets/tabs/setup_other.cpp index ad25127f7..0b8bc6448 100644 --- a/src/gui/widgets/tabs/setup_other.cpp +++ b/src/gui/widgets/tabs/setup_other.cpp @@ -291,10 +291,6 @@ Setup_Other::Setup_Other(const Widget2 *const widget) : new SetupItemLabel(_("Bots support"), "", this); // TRANSLATORS: settings option - new SetupItemCheckBox(_("Enable auction bot support"), "", - "enableAuctionBot", this, "enableAuctionBotEvent", false); - - // TRANSLATORS: settings option new SetupItemCheckBox(_("Enable guild bot support and disable native " "guild support"), "", "enableGuildBot", this, "enableGuildBotEvent", false); @@ -436,6 +432,5 @@ void Setup_Other::externalUpdated() { reread("showJob"); reread("enableGuildBot"); - reread("enableAuctionBot"); reread("enableBuggyServers"); } 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); |