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:
parent
21db5ebea9
commit
3828022508
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user