summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2009-11-24 11:03:33 +0100
committerJeremy Katz <jeremy.katz@nokia.com>2009-11-24 11:03:33 +0100
commit52df0e48813c97e27644fb6052c541af39a8dc92 (patch)
treeb78a082653b327cb3b5bdc0c2521dff5f8a844e6 /src/gui
parentcd4c5e2af80e5161b301a9798686220eb4731be6 (diff)
mark the screen dirty after a cursor change
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qgraphicssystemcursor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qgraphicssystemcursor.cpp b/src/gui/painting/qgraphicssystemcursor.cpp
index 6aef76c1c1..300c71946c 100644
--- a/src/gui/painting/qgraphicssystemcursor.cpp
+++ b/src/gui/painting/qgraphicssystemcursor.cpp
@@ -116,6 +116,7 @@ void QGraphicsSystemCursor::changeCursor(QCursor * widgetCursor)
// system cursor
setCursor(shape);
}
+ screen->setDirty(currentRect);
}
void QGraphicsSystemCursor::changeCursor(QWidget * widget)
@@ -126,6 +127,7 @@ void QGraphicsSystemCursor::changeCursor(QWidget * widget)
} else {
// default cursor
setCursor(Qt::ArrowCursor);
+ screen->setDirty(currentRect);
}
}