aboutsummaryrefslogtreecommitdiff
path: root/backends/keymapper/keymapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/keymapper/keymapper.cpp')
-rw-r--r--backends/keymapper/keymapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/keymapper/keymapper.cpp b/backends/keymapper/keymapper.cpp
index d9933ab500..c6ed0fe024 100644
--- a/backends/keymapper/keymapper.cpp
+++ b/backends/keymapper/keymapper.cpp
@@ -183,7 +183,7 @@ Action *Keymapper::getAction(const KeyState& key) {
}
void Keymapper::executeAction(const Action *action, bool keyDown) {
- List<Event>::iterator it;
+ List<Event>::const_iterator it;
for (it = action->events.begin(); it != action->events.end(); ++it) {
Event evt = *it;
switch (evt.type) {