From 1b47ede798838c9f50ad3175c9d05e1dfbad2474 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 2 Dec 2015 20:43:51 +0300 Subject: Add strong typed bool type Advanced. --- src/gui/widgets/selldialog.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/selldialog.h') diff --git a/src/gui/widgets/selldialog.h b/src/gui/widgets/selldialog.h index 709756990..5b907b882 100644 --- a/src/gui/widgets/selldialog.h +++ b/src/gui/widgets/selldialog.h @@ -23,6 +23,7 @@ #ifndef GUI_WIDGETS_SELLDIALOG_H #define GUI_WIDGETS_SELLDIALOG_H +#include "enums/simpletypes/advanced.h" #include "enums/simpletypes/issell.h" #include "enums/simpletypes/itemcolor.h" @@ -54,7 +55,7 @@ class SellDialog notfinal : public Window, * Constructor. */ SellDialog(const IsSell isSell, - const bool advanced); + const Advanced advanced); A_DELETE_COPY(SellDialog) @@ -146,7 +147,7 @@ class SellDialog notfinal : public Window, int mAmountItems; IsSell mIsSell; - bool mAdvanced; + Advanced mAdvanced; }; #endif // GUI_WIDGETS_SELLDIALOG_H -- cgit v1.2.3-70-g09d2