summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-04-25 10:55:38 +0900
committerStephan Binner <stephan.binner@basyskom.com>2017-04-25 09:50:30 +0000
commit3828022508f621c2750a462ac87476eb3900740c (patch)
tree96fe8d3f855f482012afa44b9cf5ee5cc417f1e5
parent21db5ebea9be179d325f43b5b3ca8eb5ebdae771 (diff)
Fix warning for -no-feature-cursor
Change-Id: I58a2bd715ff1767571d076a881872bd5eab2caec Reviewed-by: Stephan Binner <stephan.binner@basyskom.com> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
-rw-r--r--src/plugins/platforms/vnc/qvncscreen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/vnc/qvncscreen.cpp b/src/plugins/platforms/vnc/qvncscreen.cpp
index cd43ce4e69..67d33de2f0 100644
--- a/src/plugins/platforms/vnc/qvncscreen.cpp
+++ b/src/plugins/platforms/vnc/qvncscreen.cpp
@@ -131,6 +131,8 @@ void QVncScreen::enableClientCursor(QVncClient *client)
if (!clientCursor)
clientCursor = new QVncClientCursor();
clientCursor->addClient(client);
+#else
+ Q_UNUSED(client)
#endif
}
@@ -144,6 +146,8 @@ void QVncScreen::disableClientCursor(QVncClient *client)
}
mCursor = new QFbCursor(this);
+#else
+ Q_UNUSED(client)
#endif
}