summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setuptouchitem.cpp
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.cpp
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.cpp')
-rw-r--r--src/gui/widgets/setuptouchitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/setuptouchitem.cpp b/src/gui/widgets/setuptouchitem.cpp
index eb8741abc..020cee517 100644
--- a/src/gui/widgets/setuptouchitem.cpp
+++ b/src/gui/widgets/setuptouchitem.cpp
@@ -42,7 +42,7 @@ SetupActionDropDown::SetupActionDropDown(const std::string &restrict text,
TouchActionsModel *restrict
const model,
const int width,
- const bool mainConfig) :
+ const MainConfig mainConfig) :
SetupItem(text, description, keyName, parent, eventName, mainConfig),
mHorizont(nullptr),
mLabel(nullptr),
@@ -64,7 +64,7 @@ SetupActionDropDown::SetupActionDropDown(const std::string &restrict text,
const model,
const int width,
const std::string &restrict def,
- const bool mainConfig) :
+ const MainConfig mainConfig) :
SetupItem(text, description, keyName, parent, eventName, def, mainConfig),
mHorizont(nullptr),
mLabel(nullptr),