summaryrefslogtreecommitdiffhomepage
path: root/opentrack/keybinding-worker.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-11-19 01:41:49 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-11-19 01:42:16 +0100
commit42217bbb858ddb158ad13777e2aace942aaf9525 (patch)
treeff9ff0ee038d38e06fc6ff1969b131a1f42cc510 /opentrack/keybinding-worker.cpp
parent73c62db8a98e676328a17569b821a0fb3c397a39 (diff)
shortcuts: nix single-use mutex
It also slept with lock held. Good riddance.
Diffstat (limited to 'opentrack/keybinding-worker.cpp')
-rw-r--r--opentrack/keybinding-worker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/opentrack/keybinding-worker.cpp b/opentrack/keybinding-worker.cpp
index fd777211..31eb9e80 100644
--- a/opentrack/keybinding-worker.cpp
+++ b/opentrack/keybinding-worker.cpp
@@ -99,8 +99,6 @@ void KeybindingWorker::run() {
joy_ctx.poll(f);
}
- QMutexLocker l(&mtx);
-
for (int i = 0; i < 256; i++)
{
Key k;