From b718b80cd94063b491ba7695ccd2902c2819141b Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 1 Oct 2009 14:00:03 +0200 Subject: warning fix in qgraphicseffect_p.h for qreal == float Reviewed-by: thartman --- src/gui/effects/qgraphicseffect_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/effects') 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]; -- cgit v1.2.1