summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--opentrack/shortcuts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack/shortcuts.cpp b/opentrack/shortcuts.cpp
index 81393ae3..78b56cce 100644
--- a/opentrack/shortcuts.cpp
+++ b/opentrack/shortcuts.cpp
@@ -141,12 +141,12 @@ void Shortcuts::bind_keyboard_shortcut(K &key, key_opts& k)
#else
key = K();
int idx = 0;
- QKeySequence seq;;
+ QKeySequence code;
if (k.keycode == "")
code = QKeySequence(Qt::Key_unknown);
else
- code = QKeySequence::fromString(k.keycode, QKeySequence::PortableText)
+ code = QKeySequence::fromString(k.keycode, QKeySequence::PortableText);
Qt::KeyboardModifiers mods = Qt::NoModifier;
if (code != Qt::Key_unknown)