diff options
Diffstat (limited to 'src/gui/widgets/setuptouchitem.h')
-rw-r--r-- | src/gui/widgets/setuptouchitem.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/gui/widgets/setuptouchitem.h b/src/gui/widgets/setuptouchitem.h index ac9264467..8910f1023 100644 --- a/src/gui/widgets/setuptouchitem.h +++ b/src/gui/widgets/setuptouchitem.h @@ -50,17 +50,21 @@ class TouchActionsModel final : public NamesModel class SetupActionDropDown final : public SetupItem { public: - SetupActionDropDown(std::string text, std::string description, - std::string keyName, SetupTabScroll *const parent, - std::string eventName, + SetupActionDropDown(const std::string &text, + const std::string &description, + const std::string &keyName, + SetupTabScroll *const parent, + const std::string &eventName, TouchActionsModel *const model, - int width, const bool mainConfig = true); + const int width, const bool mainConfig = true); - SetupActionDropDown(std::string text, std::string description, - std::string keyName, SetupTabScroll *const parent, - std::string eventName, + SetupActionDropDown(const std::string &text, + const std::string &description, + const std::string &keyName, + SetupTabScroll *const parent, + const std::string &eventName, TouchActionsModel *const model, - int width, std::string def, + const int width, const std::string &def, const bool mainConfig = true); A_DELETE_COPY(SetupActionDropDown) |