diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-09-15 10:35:17 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-09-15 11:05:30 (GMT) |
commit | 2b21c3f4022c64ee6f0178b1866f22639c377ae6 (patch) | |
tree | b0cac4a103470866acd00aeb67abda4a2b955782 | |
parent | 6a90f032d160f35058373fce16efd1b5d2190bf1 (diff) | |
download | Qt-2b21c3f4022c64ee6f0178b1866f22639c377ae6.zip Qt-2b21c3f4022c64ee6f0178b1866f22639c377ae6.tar.gz Qt-2b21c3f4022c64ee6f0178b1866f22639c377ae6.tar.bz2 |
Made QGraphicsBlurEffect use the high blur quality setting.
This greatly increases the blur quality in the OpenGL implementation,
and doesn't affect the performance of the raster implementation.
Reviewed-by: Bjørn Erik Nilsen
-rw-r--r-- | src/gui/effects/qgraphicseffect.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/effects/qgraphicseffect.cpp b/src/gui/effects/qgraphicseffect.cpp index c0877a4..ee87323 100644 --- a/src/gui/effects/qgraphicseffect.cpp +++ b/src/gui/effects/qgraphicseffect.cpp @@ -794,6 +794,8 @@ void QGraphicsPixelizeEffect::draw(QPainter *painter, QGraphicsEffectSource *sou QGraphicsBlurEffect::QGraphicsBlurEffect(QObject *parent) : QGraphicsEffect(*new QGraphicsBlurEffectPrivate, parent) { + Q_D(QGraphicsBlurEffect); + d->filter->setQuality(Qt::SmoothTransformation); } /*! |