diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-09-04 00:23:42 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-09-04 00:23:42 (GMT) |
commit | 9e57401d403ca31a880636ab91301158a085de09 (patch) | |
tree | ee42854a629d310d52c91a4ab4b64a04e5e3390a /src/gui/effects | |
parent | d80748df828b92f376ca779ab83776f3c9f53ce1 (diff) | |
download | Qt-9e57401d403ca31a880636ab91301158a085de09.zip Qt-9e57401d403ca31a880636ab91301158a085de09.tar.gz Qt-9e57401d403ca31a880636ab91301158a085de09.tar.bz2 |
Use qreal for QGraphicsOpacityEffect opacity property.
Reviewed-by: Yann Bodson
Diffstat (limited to 'src/gui/effects')
-rw-r--r-- | src/gui/effects/qgraphicseffect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/effects/qgraphicseffect.h b/src/gui/effects/qgraphicseffect.h index 8e5384c..ca3f778 100644 --- a/src/gui/effects/qgraphicseffect.h +++ b/src/gui/effects/qgraphicseffect.h @@ -274,7 +274,7 @@ class QGraphicsOpacityEffectPrivate; class Q_GUI_EXPORT QGraphicsOpacityEffect: public QGraphicsEffect { Q_OBJECT - Q_PROPERTY(int opacity READ opacity WRITE setOpacity NOTIFY opacityChanged) + Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged) Q_PROPERTY(QBrush opacityMask READ opacityMask WRITE setOpacityMask NOTIFY opacityMaskChanged) public: QGraphicsOpacityEffect(QObject *parent = 0); |