aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey/hotkeymanager_x11.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-02-11 12:11:48 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-02-11 12:11:48 +0000
commitbfa4ea1b72c633ec1ec9c361e1ad67d611c1a101 (patch)
treefc28ddacd1ab4dfe9088d07680cc208889ab9870 /src/plugins/General/hotkey/hotkeymanager_x11.cpp
parent7801fde7f7d8cf280e0229df807505abea194a86 (diff)
downloadqmmp-bfa4ea1b72c633ec1ec9c361e1ad67d611c1a101.tar.gz
qmmp-bfa4ea1b72c633ec1ec9c361e1ad67d611c1a101.tar.bz2
qmmp-bfa4ea1b72c633ec1ec9c361e1ad67d611c1a101.zip
global hotkey manager: prepare for windows support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3227 90c681e8-e032-0410-971d-27865f9a5e38
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