From f918bc3367c512219b64ef061a8fd75f8e0b30ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Thu, 14 Jan 2016 23:34:57 +0100 Subject: [PATCH] fix build of rules kcm REVIEW: 126733 --- cursor.cpp | 2 ++ cursor.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cursor.cpp b/cursor.cpp index de5c5a2606..a53f66c095 100644 --- a/cursor.cpp +++ b/cursor.cpp @@ -258,6 +258,7 @@ void Cursor::notifyCursorChanged(uint32_t serial) emit cursorChanged(serial); } +#ifndef KCMRULES class XInputEventFilter : public X11EventFilter { public: @@ -276,6 +277,7 @@ public: private: X11Cursor *m_x11Cursor; }; +#endif X11Cursor::X11Cursor(QObject *parent) : Cursor(parent) diff --git a/cursor.h b/cursor.h index e0a3091e02..5e346cad83 100644 --- a/cursor.h +++ b/cursor.h @@ -259,7 +259,9 @@ private: bool m_hasXInput; int m_xiOpcode; bool m_needsPoll; +#ifndef KCMRULES QScopedPointer m_xiEventFilter; +#endif friend class Cursor; };