summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-01 12:00:03 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-01 12:14:54 (GMT)
commitb718b80cd94063b491ba7695ccd2902c2819141b (patch)
tree8bc2acd281fdc9329859300620ba8f94cd103581 /src
parentb2f87d7217df22d1cf244907757810d0afb70ad8 (diff)
downloadQt-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.h2
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];