From 7ca25ac70398de884d56eb7617a464214fcf57e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 19 Mar 2014 08:04:20 +0100 Subject: [PATCH] [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! --- cursor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cursor.cpp b/cursor.cpp index 4e3138b4bf..33a46167f2 100644 --- a/cursor.cpp +++ b/cursor.cpp @@ -49,6 +49,8 @@ Cursor *Cursor::create(QObject *parent) } else { s_self = new InputRedirectionCursor(parent); } +#else + Q_UNUSED(parent) #endif return s_self; }