diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-25 05:53:38 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-25 05:56:40 +0200 |
commit | 1ac8544eaa1e67baa05651e2c9c7ab0888b1cc57 (patch) | |
tree | 6405c1bdc4b3eecde14afd924014864845532f2f /opentrack/shortcuts.cpp | |
parent | b6a13399604b6069054faf6f3d4c481f949473d4 (diff) |
fix build
Diffstat (limited to 'opentrack/shortcuts.cpp')
-rw-r--r-- | opentrack/shortcuts.cpp | 4 |
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) |