diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 01:15:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 01:15:56 +0300 |
commit | 92159683c69ce0226239aeb70e5ff906327edc7e (patch) | |
tree | 0adb2f154f5e54d38c6dd49581b935885c8e4c0f /src/gui | |
parent | 24bc91b63fb57ab3ec538f064f47108e1d7cb22c (diff) | |
download | mv-92159683c69ce0226239aeb70e5ff906327edc7e.tar.gz mv-92159683c69ce0226239aeb70e5ff906327edc7e.tar.bz2 mv-92159683c69ce0226239aeb70e5ff906327edc7e.tar.xz mv-92159683c69ce0226239aeb70e5ff906327edc7e.zip |
Remove default parameters from setuptouchitem.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/setuptouchitem.h | 4 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_touch.cpp | 4 |
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)); |