summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-06-24 12:02:41 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-06-24 12:47:13 (GMT)
commit1e88fd57c693db1e4b6f0c42a2c05fad935fb4b9 (patch)
tree54fb226c3931f008181e7163476bfce06807362a /src/gui/image
parent3a34a71c6f70a709ac494e65d465dcd4e346ccbb (diff)
downloadQt-1e88fd57c693db1e4b6f0c42a2c05fad935fb4b9.zip
Qt-1e88fd57c693db1e4b6f0c42a2c05fad935fb4b9.tar.gz
Qt-1e88fd57c693db1e4b6f0c42a2c05fad935fb4b9.tar.bz2
Refactored QGraphicsSystemCursor -> QPlatformCursor
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qpixmap_blitter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/image/qpixmap_blitter.cpp b/src/gui/image/qpixmap_blitter.cpp
index 660f4d2..d91a269 100644
--- a/src/gui/image/qpixmap_blitter.cpp
+++ b/src/gui/image/qpixmap_blitter.cpp
@@ -37,7 +37,11 @@ QBlittable *QBlittablePixmapData::blittable() const
{
if (!m_blittable) {
QBlittablePixmapData *that = const_cast<QBlittablePixmapData *>(this);
+#ifdef Q_WS_QPA //####jl: graphics system nor platformintegration should have createBlittable
+ that->m_blittable = QApplicationPrivate::platformIntegration()->createBlittable(QSize(w,h));
+#else
that->m_blittable = QApplicationPrivate::graphicsSystem()->createBlittable(QSize(w,h));
+#endif
}
return m_blittable;