From 23ca69dbf704cd289d58f023689289fcab515464 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Sep 2014 14:41:32 +0300 Subject: Simplify SellDialog. --- src/gui/windows/selldialog.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/gui/windows/selldialog.h') diff --git a/src/gui/windows/selldialog.h b/src/gui/windows/selldialog.h index 471ae74f2..b97cb13dc 100644 --- a/src/gui/windows/selldialog.h +++ b/src/gui/windows/selldialog.h @@ -51,7 +51,7 @@ class SellDialog notfinal : public Window, * * @see Window::Window */ - explicit SellDialog(const int npcId); + SellDialog(); /** * Constructor. @@ -65,8 +65,6 @@ class SellDialog notfinal : public Window, */ ~SellDialog(); - void init(); - /** * Resets the dialog, clearing inventory. */ @@ -124,8 +122,6 @@ class SellDialog notfinal : public Window, virtual void sellAction(const ActionEvent &event) = 0; - std::string mNick; - Button *mSellButton; Button *mQuitButton; Button *mAddMaxButton; @@ -138,7 +134,6 @@ class SellDialog notfinal : public Window, Slider *mSlider; ShopItems *mShopItems; - int mNpcId; int mPlayerMoney; int mMaxItems; int mAmountItems; -- cgit v1.2.3-70-g09d2