aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey/hotkeymanager_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hotkey/hotkeymanager_x11.cpp')
-rw-r--r--src/plugins/General/hotkey/hotkeymanager_x11.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/General/hotkey/hotkeymanager_x11.cpp b/src/plugins/General/hotkey/hotkeymanager_x11.cpp
index 5f96617ea..c5bf0e7ca 100644
--- a/src/plugins/General/hotkey/hotkeymanager_x11.cpp
+++ b/src/plugins/General/hotkey/hotkeymanager_x11.cpp
@@ -20,6 +20,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
+#include <QtGlobal>
+#ifdef Q_WS_X11
#include <QSettings>
#include <QX11Info>
#include <QEvent>
@@ -321,3 +323,4 @@ quint32 HotkeyManager::keycodeToKeysym(quint32 keycode)
return XKeycodeToKeysym(QX11Info::display(), keycode,0);
#endif
}
+#endif