summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2009-11-16 12:57:53 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2009-11-16 12:57:53 (GMT)
commit12bc7c80b94b5f3acbf87f268c4e68ba4bc89381 (patch)
tree8622263c3f7ee696a85309c47e3e1f4f62c32197 /src/gui
parent364825a39178fecc0c723ddc0ec7409b2f9b2956 (diff)
downloadQt-12bc7c80b94b5f3acbf87f268c4e68ba4bc89381.zip
Qt-12bc7c80b94b5f3acbf87f268c4e68ba4bc89381.tar.gz
Qt-12bc7c80b94b5f3acbf87f268c4e68ba4bc89381.tar.bz2
remove an unnecessary call to QGraphicsSystemScreen::setDirty()
in QGraphicsSystemCursor::pointerEvent()
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qgraphicssystemcursor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/painting/qgraphicssystemcursor.cpp b/src/gui/painting/qgraphicssystemcursor.cpp
index 9bf5d02..08dcbbe 100644
--- a/src/gui/painting/qgraphicssystemcursor.cpp
+++ b/src/gui/painting/qgraphicssystemcursor.cpp
@@ -100,7 +100,6 @@ void QGraphicsSystemCursor::pointerEvent(QMouseEvent & e)
currentRect = graphic->image()->rect().translated(-graphic->hotspot().x(),
-graphic->hotspot().y());
currentRect.translate(e.pos());
- screen->setDirty(currentRect);
screen->pointerEvent(e);
}