diff options
-rw-r--r-- | backends/keymapper/hardware-key.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/keymapper/hardware-key.h b/backends/keymapper/hardware-key.h index 713b086791..2b9280516a 100644 --- a/backends/keymapper/hardware-key.h +++ b/backends/keymapper/hardware-key.h @@ -109,7 +109,7 @@ public: delete *it; } - void addHardwareKey(HardwareKey *key) { + void addHardwareKey(const HardwareKey *key) { checkForKey(key); _keys.push_back(key); } @@ -177,7 +177,7 @@ public: private: - void checkForKey(HardwareKey *key) { + void checkForKey(const HardwareKey *key) { List<const HardwareKey*>::iterator it; for (it = _keys.begin(); it != _keys.end(); it++) { |