summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/vnc
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2010-06-03 11:19:37 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2010-06-03 11:19:37 (GMT)
commit28547949cc78d25884a76bf3c2112a6217ba5b66 (patch)
tree48f076d4f29aa215f85c106ab8ef012447eea50a /src/plugins/platforms/vnc
parent37ef97675aeb71a542ef179e98d5ee29f98d25c2 (diff)
downloadQt-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.cpp4
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();