diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2017-02-16 14:58:13 +0100 |
---|---|---|
committer | Stephan Binner <stephan.binner@basyskom.com> | 2017-03-01 09:01:19 +0000 |
commit | 1399cacb6be044550bbd330b5ec77c1c1609b3ff (patch) | |
tree | a43013c893d738d2aca91ff256af91ec1d2c5715 /src/plugins/platforms/vnc/qvncclient.cpp | |
parent | 0684f28984e748c80300f5b66b15a3a1f2462ce7 (diff) |
Fix build with -no-feature-cursor
Change-Id: I971dbe7827adf0cf06337348a0d011632c364725
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/plugins/platforms/vnc/qvncclient.cpp')
-rw-r--r-- | src/plugins/platforms/vnc/qvncclient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/vnc/qvncclient.cpp b/src/plugins/platforms/vnc/qvncclient.cpp index 58dcfc9b51..9dfe873927 100644 --- a/src/plugins/platforms/vnc/qvncclient.cpp +++ b/src/plugins/platforms/vnc/qvncclient.cpp @@ -425,14 +425,14 @@ void QVncClient::checkUpdate() { if (!m_wantUpdate) return; - +#if QT_CONFIG(cursor) if (m_dirtyCursor) { m_server->screen()->clientCursor->write(this); m_dirtyCursor = false; m_wantUpdate = false; return; } - +#endif if (!m_dirtyRegion.isEmpty()) { if (m_encoder) m_encoder->write(); |