diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2009-06-09 08:42:46 (GMT) |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2009-06-09 08:46:03 (GMT) |
commit | 29496148abe8506fbf50c99e9a210095c5115a14 (patch) | |
tree | 32f4b5d08bc99afc302087a376c0020f70c07fe9 /src/declarative/fx/qfxrect_p.h | |
parent | 1ef0d84c8e5d706e60e487fc801f90bbf5fddaa6 (diff) | |
download | Qt-29496148abe8506fbf50c99e9a210095c5115a14.zip Qt-29496148abe8506fbf50c99e9a210095c5115a14.tar.gz Qt-29496148abe8506fbf50c99e9a210095c5115a14.tar.bz2 |
Compile fix for !QFX_RENDER_OPENGL
Some QFX_RENDER_OPENGL guards were missing and getPen had to be replaced
with d->pen in some places
Reviewed-by: Kai Koehne
Diffstat (limited to 'src/declarative/fx/qfxrect_p.h')
-rw-r--r-- | src/declarative/fx/qfxrect_p.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxrect_p.h b/src/declarative/fx/qfxrect_p.h index d68eb4e..f662fac 100644 --- a/src/declarative/fx/qfxrect_p.h +++ b/src/declarative/fx/qfxrect_p.h @@ -68,8 +68,11 @@ class QFxRectPrivate : public QFxItemPrivate Q_DECLARE_PUBLIC(QFxRect) public: - QFxRectPrivate() - : rectTexture(0), gradient(0), pen(0), radius(0) + QFxRectPrivate() : +#if defined(QFX_RENDER_OPENGL) + rectTexture(0), +#endif //QFX_RENDER_OPENGL + gradient(0), pen(0), radius(0) { } |