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>
This commit is contained in:
Tasuku Suzuki 2017-04-25 10:55:38 +09:00 committed by Stephan Binner
parent 21db5ebea9
commit 3828022508

View File

@ -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
}