diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-10-15 08:13:27 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-10-15 08:13:27 (GMT) |
commit | 9a3cdecc11e8dabaf2390eaab2c71e64f6521e69 (patch) | |
tree | 4e8b83cc6cb4e183b73db36fce239ae22e356732 /src/gui/effects/qgraphicseffect.cpp | |
parent | d109954578b4948706577dfffb7bde139678370a (diff) | |
download | Qt-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.cpp | 2 |
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); } |