summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxrect_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxrect_p.h')
-rw-r--r--src/declarative/fx/qfxrect_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxrect_p.h b/src/declarative/fx/qfxrect_p.h
index 60eaf1d..8cafcbb 100644
--- a/src/declarative/fx/qfxrect_p.h
+++ b/src/declarative/fx/qfxrect_p.h
@@ -61,13 +61,15 @@
QT_BEGIN_NAMESPACE
+class QFxGradient;
+
class QFxRectPrivate : public QFxItemPrivate
{
Q_DECLARE_PUBLIC(QFxRect)
public:
QFxRectPrivate()
- : _pen(0), _radius(0)
+ : gradient(0), _pen(0), _radius(0)
{
}
@@ -85,7 +87,7 @@ public:
#endif
QColor getColor();
QColor _color;
- QColor _gradcolor;
+ QFxGradient *gradient;
QColor _tintColor;
QFxPen *pen() {
if (!_pen) {