summaryrefslogtreecommitdiffstats
path: root/src/gui/effects/qgraphicseffect.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-10-15 08:13:27 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-10-15 08:13:27 (GMT)
commit9a3cdecc11e8dabaf2390eaab2c71e64f6521e69 (patch)
tree4e8b83cc6cb4e183b73db36fce239ae22e356732 /src/gui/effects/qgraphicseffect.cpp
parentd109954578b4948706577dfffb7bde139678370a (diff)
downloadQt-9a3cdecc11e8dabaf2390eaab2c71e64f6521e69.zip
Qt-9a3cdecc11e8dabaf2390eaab2c71e64f6521e69.tar.gz
Qt-9a3cdecc11e8dabaf2390eaab2c71e64f6521e69.tar.bz2
Compile
There's no implicit conversion from QPixmap to QImage Reviewed-by: Gunnar
Diffstat (limited to 'src/gui/effects/qgraphicseffect.cpp')
-rw-r--r--src/gui/effects/qgraphicseffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/effects/qgraphicseffect.cpp b/src/gui/effects/qgraphicseffect.cpp
index 42845cc..91641b0 100644
--- a/src/gui/effects/qgraphicseffect.cpp
+++ b/src/gui/effects/qgraphicseffect.cpp
@@ -1504,7 +1504,7 @@ void QGraphicsBloomEffect::draw(QPainter *painter, QGraphicsEffectSource *source
QTransform restoreTransform = painter->worldTransform();
painter->setWorldTransform(QTransform());
- painter->drawImage(offset, pixmap);
+ painter->drawPixmap(offset, pixmap);
painter->setWorldTransform(restoreTransform);
}