diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-01 12:00:03 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-01 12:14:54 (GMT) |
commit | b718b80cd94063b491ba7695ccd2902c2819141b (patch) | |
tree | 8bc2acd281fdc9329859300620ba8f94cd103581 /src | |
parent | b2f87d7217df22d1cf244907757810d0afb70ad8 (diff) | |
download | Qt-b718b80cd94063b491ba7695ccd2902c2819141b.zip Qt-b718b80cd94063b491ba7695ccd2902c2819141b.tar.gz Qt-b718b80cd94063b491ba7695ccd2902c2819141b.tar.bz2 |
warning fix in qgraphicseffect_p.h for qreal == float
Reviewed-by: thartman
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/effects/qgraphicseffect_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/effects/qgraphicseffect_p.h b/src/gui/effects/qgraphicseffect_p.h index 96eda0e..ff2fb85 100644 --- a/src/gui/effects/qgraphicseffect_p.h +++ b/src/gui/effects/qgraphicseffect_p.h @@ -189,7 +189,7 @@ class QGraphicsBloomEffectPrivate : public QGraphicsEffectPrivate { Q_DECLARE_PUBLIC(QGraphicsBlurEffect) public: - QGraphicsBloomEffectPrivate() : brightness(70), strength(0.7) {} + QGraphicsBloomEffectPrivate() : brightness(70), strength(qreal(0.7)) {} QPixmapBlurFilter blurFilter; int colorTable[256]; |