aboutsummaryrefslogtreecommitdiff
path: root/src/keymap/KeySeqParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/keymap/KeySeqParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap/KeySeqParser.cpp b/src/keymap/KeySeqParser.cpp
index f81ba2a..aef3b58 100644
--- a/src/keymap/KeySeqParser.cpp
+++ b/src/keymap/KeySeqParser.cpp
@@ -5,8 +5,8 @@
#include "keymap/KeySeqParser.hpp"
-bool operator==(const KeyChord chord1, const KeyChord chord2) {
- return chord1.mod == chord2.mod && chord1.key == chord2.key;
+bool KeyChord::operator==(const KeyChord &chord2) const {
+ return this->mod == chord2.mod && this->key == chord2.key;
}
QList<KeyChord> KeySeqParser::parse(QString key_sequence) {