diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-16 06:08:36 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-16 06:08:36 (GMT) |
commit | dc7d82434debd9b660dbdd963f88071a41b21897 (patch) | |
tree | 0b2368bc79f7b20fc48209082ecca0c109fc1c13 /src/declarative/fx | |
parent | 2f3aca28242fb4849f62b7391460ba66361f29d7 (diff) | |
download | Qt-dc7d82434debd9b660dbdd963f88071a41b21897.zip Qt-dc7d82434debd9b660dbdd963f88071a41b21897.tar.gz Qt-dc7d82434debd9b660dbdd963f88071a41b21897.tar.bz2 |
Make the default rect color white
Diffstat (limited to 'src/declarative/fx')
-rw-r--r-- | src/declarative/fx/qfxrect.cpp | 2 | ||||
-rw-r--r-- | src/declarative/fx/qfxrect_p.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxrect.cpp b/src/declarative/fx/qfxrect.cpp index f55357f..fd8d9ca 100644 --- a/src/declarative/fx/qfxrect.cpp +++ b/src/declarative/fx/qfxrect.cpp @@ -391,6 +391,8 @@ void QFxRect::dump(int depth) // steelblue rect using SVG color name Rect { color: "steelblue" } \endqml + + The default color is white. */ /*! diff --git a/src/declarative/fx/qfxrect_p.h b/src/declarative/fx/qfxrect_p.h index f662fac..23bb944 100644 --- a/src/declarative/fx/qfxrect_p.h +++ b/src/declarative/fx/qfxrect_p.h @@ -72,7 +72,7 @@ public: #if defined(QFX_RENDER_OPENGL) rectTexture(0), #endif //QFX_RENDER_OPENGL - gradient(0), pen(0), radius(0) + color(Qt::white), gradient(0), pen(0), radius(0) { } |