diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-05 05:46:09 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-05 05:46:09 +0100 |
commit | 8a6b9152985ed346afa56a1c09079f2cd9bfdcaf (patch) | |
tree | 801521bcee4f99bc3e49fc904111b5b7f9a5315b /opentrack/work.hpp | |
parent | 83b92a9c80e37c0b9d5fc3bc8b8ec65efa7804f0 (diff) |
fix keyboard shortcuts on win32 change during trackingopentrack-2.3-20141105
Used to become unusable if changed during tracking.
Diffstat (limited to 'opentrack/work.hpp')
-rw-r--r-- | opentrack/work.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack/work.hpp b/opentrack/work.hpp index bb9a4534..9a9889a7 100644 --- a/opentrack/work.hpp +++ b/opentrack/work.hpp @@ -27,8 +27,8 @@ struct Work QObject::connect(sc->keyCenter.get(), SIGNAL(activated()), recv, SLOT(shortcutRecentered())); QObject::connect(sc->keyToggle.get(), SIGNAL(activated()), recv, SLOT(shortcutToggled())); #else - QObject::connect(sc->keybindingWorker.get(), SIGNAL(center()), recv, SLOT(shortcutRecentered())); - QObject::connect(sc->keybindingWorker.get(), SIGNAL(toggle()), recv, SLOT(shortcutToggled())); + QObject::connect(sc.get(), SIGNAL(center()), recv, SLOT(shortcutRecentered())); + QObject::connect(sc.get(), SIGNAL(toggle()), recv, SLOT(shortcutToggled())); #endif tracker->start(); } |