summaryrefslogtreecommitdiff
path: root/src/gui/widgets/selldialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-02 20:43:51 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-02 20:43:51 +0300
commit1b47ede798838c9f50ad3175c9d05e1dfbad2474 (patch)
tree00704042c47be966eee5c0f13079aa35d99adfaf /src/gui/widgets/selldialog.h
parent914b7555f6b2b28497f70eaaadc6650961ef7f6b (diff)
downloadplus-1b47ede798838c9f50ad3175c9d05e1dfbad2474.tar.gz
plus-1b47ede798838c9f50ad3175c9d05e1dfbad2474.tar.bz2
plus-1b47ede798838c9f50ad3175c9d05e1dfbad2474.tar.xz
plus-1b47ede798838c9f50ad3175c9d05e1dfbad2474.zip
Add strong typed bool type Advanced.
Diffstat (limited to 'src/gui/widgets/selldialog.h')
-rw-r--r--src/gui/widgets/selldialog.h5
1 files changed, 3 insertions, 2 deletions
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