summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setuptouchitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-31 21:53:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-31 21:53:50 +0300
commit06720edd93b51a84650e2d385a24043cc4fb932e (patch)
tree002c54e58ee0cc45feca1fc00b64808b46861f35 /src/gui/widgets/setuptouchitem.h
parente8f29b1cff5360c9d16587b91d72863af4763d08 (diff)
downloadmv-06720edd93b51a84650e2d385a24043cc4fb932e.tar.gz
mv-06720edd93b51a84650e2d385a24043cc4fb932e.tar.bz2
mv-06720edd93b51a84650e2d385a24043cc4fb932e.tar.xz
mv-06720edd93b51a84650e2d385a24043cc4fb932e.zip
Add strong typed bool enum mainconfig.
Diffstat (limited to 'src/gui/widgets/setuptouchitem.h')
-rw-r--r--src/gui/widgets/setuptouchitem.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/setuptouchitem.h b/src/gui/widgets/setuptouchitem.h
index 117ea6d4e..2805a557d 100644
--- a/src/gui/widgets/setuptouchitem.h
+++ b/src/gui/widgets/setuptouchitem.h
@@ -34,7 +34,8 @@ class SetupActionDropDown final : public SetupItem
SetupTabScroll *restrict const parent,
const std::string &restrict eventName,
TouchActionsModel *restrict const model,
- const int width, const bool mainConfig = true);
+ const int width,
+ const MainConfig mainConfig = MainConfig_true);
SetupActionDropDown(const std::string &restrict text,
const std::string &restrict description,
@@ -43,7 +44,7 @@ class SetupActionDropDown final : public SetupItem
const std::string &restrict eventName,
TouchActionsModel *restrict const model,
const int width, const std::string &def,
- const bool mainConfig = true);
+ const MainConfig mainConfig = MainConfig_true);
A_DELETE_COPY(SetupActionDropDown)