[kwin] Suppress unused variable warning when building KCMRULES

This really needs to be improved. It cannot be that the kcm rules
includes more and more parts of KWin core!
This commit is contained in:
Martin Gräßlin 2014-03-19 08:04:20 +01:00
parent 317ad3d537
commit 7ca25ac703

View file

@ -49,6 +49,8 @@ Cursor *Cursor::create(QObject *parent)
} else {
s_self = new InputRedirectionCursor(parent);
}
#else
Q_UNUSED(parent)
#endif
return s_self;
}