diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-02 19:59:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-02 19:59:32 +0300 |
commit | 914b7555f6b2b28497f70eaaadc6650961ef7f6b (patch) | |
tree | 723333f6d3da50b849437cb7026b482033fdc5b0 /src/gui/widgets/selldialog.h | |
parent | c1cf7bb66f36310c14254954d24eb039f0386dd7 (diff) | |
download | plus-914b7555f6b2b28497f70eaaadc6650961ef7f6b.tar.gz plus-914b7555f6b2b28497f70eaaadc6650961ef7f6b.tar.bz2 plus-914b7555f6b2b28497f70eaaadc6650961ef7f6b.tar.xz plus-914b7555f6b2b28497f70eaaadc6650961ef7f6b.zip |
Add strong typed bool type IsSell.
Diffstat (limited to 'src/gui/widgets/selldialog.h')
-rw-r--r-- | src/gui/widgets/selldialog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/selldialog.h b/src/gui/widgets/selldialog.h index e94619f1f..709756990 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/issell.h" #include "enums/simpletypes/itemcolor.h" #include "gui/widgets/window.h" @@ -52,7 +53,7 @@ class SellDialog notfinal : public Window, /** * Constructor. */ - SellDialog(const bool isSell, + SellDialog(const IsSell isSell, const bool advanced); A_DELETE_COPY(SellDialog) @@ -144,7 +145,7 @@ class SellDialog notfinal : public Window, int mMaxItems; int mAmountItems; - bool mIsSell; + IsSell mIsSell; bool mAdvanced; }; |