summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setuptouchitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-31 22:27:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-31 22:46:08 +0300
commit82ace39b426a843382a6a809e7b66487c1412494 (patch)
treec8434c5465d0f0a44aa1a4b438dbe4dfbce317f6 /src/gui/widgets/setuptouchitem.h
parentf355fe070293a3f80b33ee0bc0154b2fe767fc4d (diff)
downloadmanaverse-82ace39b426a843382a6a809e7b66487c1412494.tar.gz
manaverse-82ace39b426a843382a6a809e7b66487c1412494.tar.bz2
manaverse-82ace39b426a843382a6a809e7b66487c1412494.tar.xz
manaverse-82ace39b426a843382a6a809e7b66487c1412494.zip
Fix code style and compilation under windows.
Diffstat (limited to 'src/gui/widgets/setuptouchitem.h')
-rw-r--r--src/gui/widgets/setuptouchitem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/setuptouchitem.h b/src/gui/widgets/setuptouchitem.h
index 77eff2ae6..36770ae63 100644
--- a/src/gui/widgets/setuptouchitem.h
+++ b/src/gui/widgets/setuptouchitem.h
@@ -38,9 +38,9 @@ class TouchActionsModel final : public NamesModel
virtual ~TouchActionsModel()
{ }
- int getActionFromSelection(int sel);
+ int getActionFromSelection(const int sel) const;
- int getSelectionFromAction(int action);
+ int getSelectionFromAction(const int action) const;
private:
std::vector<int> mActionId;