summaryrefslogtreecommitdiffhomepage
path: root/opentrack/global-shortcuts.h
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/global-shortcuts.h')
-rw-r--r--opentrack/global-shortcuts.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/opentrack/global-shortcuts.h b/opentrack/global-shortcuts.h
index 2b25321b..8167036d 100644
--- a/opentrack/global-shortcuts.h
+++ b/opentrack/global-shortcuts.h
@@ -1,5 +1,7 @@
#pragma once
+#ifdef _WIN32
+
struct win_key;
extern QList<win_key> windows_key_mods;
@@ -12,3 +14,5 @@ struct win_key
Qt::Key qt;
static bool from_qt(QKeySequence qt_, int& dik, Qt::KeyboardModifiers &mods);
};
+
+#endif