summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/setuptouchitem.h4
-rw-r--r--src/gui/widgets/tabs/setup_touch.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/setuptouchitem.h b/src/gui/widgets/setuptouchitem.h
index 55521b684..a485b1bd1 100644
--- a/src/gui/widgets/setuptouchitem.h
+++ b/src/gui/widgets/setuptouchitem.h
@@ -35,7 +35,7 @@ class SetupActionDropDown final : public SetupItem
const std::string &restrict eventName,
TouchActionsModel *restrict const model,
const int width,
- const MainConfig mainConfig = MainConfig_true);
+ const MainConfig mainConfig);
SetupActionDropDown(const std::string &restrict text,
const std::string &restrict description,
@@ -44,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 MainConfig mainConfig = MainConfig_true);
+ const MainConfig mainConfig);
A_DELETE_COPY(SetupActionDropDown)
diff --git a/src/gui/widgets/tabs/setup_touch.cpp b/src/gui/widgets/tabs/setup_touch.cpp
index 355cf9452..297c1ffb9 100644
--- a/src/gui/widgets/tabs/setup_touch.cpp
+++ b/src/gui/widgets/tabs/setup_touch.cpp
@@ -86,7 +86,7 @@ Setup_Touch::Setup_Touch(const Widget2 *const widget) :
// TRANSLATORS: settings option
new SetupActionDropDown(_("Keyboard icon action"), "",
"screenActionKeyboard", this, "screenActionKeyboardEvent",
- mActionsList, 250);
+ mActionsList, 250, MainConfig_true);
// TRANSLATORS: settings group
@@ -129,7 +129,7 @@ Setup_Touch::Setup_Touch(const Widget2 *const widget) :
std::string event = strprintf("screenActionButton%uEvent", f);
// TRANSLATORS: settings option
new SetupActionDropDown(strprintf(_("Button %u action"), f + 1), "",
- key, this, event, mActionsList, 250);
+ key, this, event, mActionsList, 250, MainConfig_true);
}
setDimension(Rect(0, 0, 550, 350));