summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxrect.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-05-19 08:08:09 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2009-05-19 08:08:09 (GMT)
commit23c781b67c838b120e7fba42bc9008d38f191330 (patch)
tree4254e4dfd099ad7066b4b02330c1edbee8398086 /src/declarative/fx/qfxrect.h
parent6e8f112492dec917cdcd9bc50b992eca5d41b998 (diff)
parent6db78166ddfe935a0c968a6e6205a10253d50138 (diff)
downloadQt-23c781b67c838b120e7fba42bc9008d38f191330.zip
Qt-23c781b67c838b120e7fba42bc9008d38f191330.tar.gz
Qt-23c781b67c838b120e7fba42bc9008d38f191330.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/fx/qfxrect.h')
-rw-r--r--src/declarative/fx/qfxrect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxrect.h b/src/declarative/fx/qfxrect.h
index f8bff78..420ec44 100644
--- a/src/declarative/fx/qfxrect.h
+++ b/src/declarative/fx/qfxrect.h
@@ -58,11 +58,11 @@ class Q_DECLARATIVE_EXPORT QFxPen : public QObject
Q_PROPERTY(QColor color READ color WRITE setColor)
public:
QFxPen(QObject *parent=0)
- : QObject(parent), _width(1), _color("#000000"), _valid(false)
+ : QObject(parent), _width(0), _color("#000000"), _valid(false)
{}
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);