fix build of rules kcm
REVIEW: 126733
This commit is contained in:
parent
69aa80750f
commit
f918bc3367
2 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
2
cursor.h
2
cursor.h
|
@ -259,7 +259,9 @@ private:
|
|||
bool m_hasXInput;
|
||||
int m_xiOpcode;
|
||||
bool m_needsPoll;
|
||||
#ifndef KCMRULES
|
||||
QScopedPointer<XInputEventFilter> m_xiEventFilter;
|
||||
#endif
|
||||
friend class Cursor;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue