From c3be771906112df05821dc82539fdca2bf3d7991 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Feb 2015 21:26:24 +0300 Subject: Build buyingstoreslotslistener only if eathena support enabled. --- src/gui/windows/shopwindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/windows/shopwindow.cpp') diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 32580454d..c4795dd9e 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -84,14 +84,14 @@ ShopWindow::DialogList ShopWindow::instances; ShopWindow::ShopWindow() : // TRANSLATORS: shop window name Window(_("Personal Shop"), false, nullptr, "shop.xml"), - ActionListener(), - SelectionListener(), VendingModeListener(), VendingSlotsListener(), #ifdef EATHENA_SUPPORT BuyingStoreModeListener(), -#endif BuyingStoreSlotsListener(), +#endif + ActionListener(), + SelectionListener(), // TRANSLATORS: shop window button mCloseButton(new Button(this, _("Close"), "close", this)), mBuyShopItems(new ShopItems), @@ -1074,13 +1074,13 @@ void ShopWindow::setShopName(const std::string &name) updateShopName(); } +#ifdef EATHENA_SUPPORT void ShopWindow::buyingStoreSlotsChanged(const int slots) { mBuyShopSize = slots; updateButtonsAndLabels(); } -#ifdef EATHENA_SUPPORT void ShopWindow::buyingStoreEnabled(const bool b) { mEnableBuyingStore = b; -- cgit v1.2.3-60-g2f50