summaryrefslogtreecommitdiff
path: root/src/gui/effects
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-01 14:00:03 +0200
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-01 14:14:54 +0200
commitb718b80cd94063b491ba7695ccd2902c2819141b (patch)
tree8bc2acd281fdc9329859300620ba8f94cd103581 /src/gui/effects
parentb2f87d7217df22d1cf244907757810d0afb70ad8 (diff)
downloadqt4-tools-b718b80cd94063b491ba7695ccd2902c2819141b.tar.gz
warning fix in qgraphicseffect_p.h for qreal == float
Reviewed-by: thartman
Diffstat (limited to 'src/gui/effects')
-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 96eda0ea7f..ff2fb8570e 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];