diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2010-06-03 11:19:37 (GMT) |
---|---|---|
committer | Jeremy Katz <jeremy.katz@nokia.com> | 2010-06-03 11:19:37 (GMT) |
commit | 28547949cc78d25884a76bf3c2112a6217ba5b66 (patch) | |
tree | 48f076d4f29aa215f85c106ab8ef012447eea50a /src/plugins/platforms/vnc | |
parent | 37ef97675aeb71a542ef179e98d5ee29f98d25c2 (diff) | |
download | Qt-28547949cc78d25884a76bf3c2112a6217ba5b66.zip Qt-28547949cc78d25884a76bf3c2112a6217ba5b66.tar.gz Qt-28547949cc78d25884a76bf3c2112a6217ba5b66.tar.bz2 |
software cursor cleanup
Diffstat (limited to 'src/plugins/platforms/vnc')
-rw-r--r-- | src/plugins/platforms/vnc/qvnccursor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/vnc/qvnccursor.cpp b/src/plugins/platforms/vnc/qvnccursor.cpp index 8da06aa..72dcb25 100644 --- a/src/plugins/platforms/vnc/qvnccursor.cpp +++ b/src/plugins/platforms/vnc/qvnccursor.cpp @@ -64,14 +64,14 @@ void QVNCCursor::changeCursor(QCursor * widgetCursor, QWidget * widget) if (useVncCursor) { server->setDirtyCursor(); } else { - screen->setDirty(QRect(0,0,1,1)); + setDirty(); } } void QVNCCursor::setCursorMode(bool vnc) { if (vnc) { - screen->setDirty(dirtyRect()); + setDirty(); server->setDirtyCursor(); } else { server->setDirtyCursor(); |