diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-07-22 07:15:55 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-07-23 23:26:20 (GMT) |
commit | 8e18256d023e6e78081a34b573d548d52137575d (patch) | |
tree | 1c604917bab463f545fba3233f18e500ad6f6a14 /src/gui/graphicsview/qgraphicsscene.cpp | |
parent | 787f2252077434581101df64d0f0d576c26b7ce8 (diff) | |
download | Qt-8e18256d023e6e78081a34b573d548d52137575d.zip Qt-8e18256d023e6e78081a34b573d548d52137575d.tar.gz Qt-8e18256d023e6e78081a34b573d548d52137575d.tar.bz2 |
QGraphicsEffect API cleanup.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.cpp')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp index 2807673..c56f34c 100644 --- a/src/gui/graphicsview/qgraphicsscene.cpp +++ b/src/gui/graphicsview/qgraphicsscene.cpp @@ -3928,8 +3928,8 @@ void QGraphicsScenePrivate::drawItemHelper(QGraphicsItem *item, QPainter *painte #endif // Render using effect, works now only for no cache mode - if (noCache && itemd->hasEffect && item->effect()) { - item->effect()->drawItem(item, painter, option, widget); + if (noCache && itemd->hasEffect && item->graphicsEffect()) { + item->graphicsEffect()->drawItem(item, painter, option, widget); return; } |