diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-05-18 06:46:12 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-05-19 01:20:46 (GMT) |
commit | 692782c4d11cf7352a7923633cb015c3580e2704 (patch) | |
tree | 9fe49f61456d379244b796eb3bc2a2c1b46fce4b /src/declarative/fx/qfxrect.h | |
parent | 86cc7c0d6dffc5cabe215606cb6fadf98e8214cc (diff) | |
download | Qt-692782c4d11cf7352a7923633cb015c3580e2704.zip Qt-692782c4d11cf7352a7923633cb015c3580e2704.tar.gz Qt-692782c4d11cf7352a7923633cb015c3580e2704.tar.bz2 |
Fix pens.
Now corresponds to standard Qt painting; in particular, penwidth extends
outside rectangle.
Task-number: 249318
Diffstat (limited to 'src/declarative/fx/qfxrect.h')
-rw-r--r-- | src/declarative/fx/qfxrect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxrect.h b/src/declarative/fx/qfxrect.h index 42e7b2f..339a7d8 100644 --- a/src/declarative/fx/qfxrect.h +++ b/src/declarative/fx/qfxrect.h @@ -62,7 +62,7 @@ public: {} int width() const { return _width; } - void setWidth(int w) { _width = w; emit updated(); _valid = (_width < 1) ? false : true; } + void setWidth(int w); QColor color() const { return _color; } void setColor(const QColor &c); |