summaryrefslogtreecommitdiffhomepage
path: root/opentrack/shortcuts.h
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/shortcuts.h')
-rw-r--r--opentrack/shortcuts.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/opentrack/shortcuts.h b/opentrack/shortcuts.h
index 930952e8..8acc5ba5 100644
--- a/opentrack/shortcuts.h
+++ b/opentrack/shortcuts.h
@@ -66,7 +66,10 @@ public:
{}
} s;
- Shortcuts() : key_token(KeybindingWorker::add_receiver([&](const Key& k) { receiver(k); }))
+ Shortcuts()
+#ifdef _WIN32
+ : key_token(KeybindingWorker::add_receiver([&](const Key& k) { receiver(k); }))
+#endif
{
reload();
}