summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativebinding_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-12-21 03:52:44 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-12-21 04:31:55 (GMT)
commit3468ee1a47bc646fe2af5de38425ee917ea92f59 (patch)
tree6becffb627acd3ff7dcc2ef95a42aeecfb6809b8 /src/declarative/qml/qdeclarativebinding_p.h
parenta764a0b5d66e13fb69a5b69330c5edfecf89ee8b (diff)
downloadQt-3468ee1a47bc646fe2af5de38425ee917ea92f59.zip
Qt-3468ee1a47bc646fe2af5de38425ee917ea92f59.tar.gz
Qt-3468ee1a47bc646fe2af5de38425ee917ea92f59.tar.bz2
Fix potential crash in PropertyChanges binding rewrite handling.
This fixes the autotest regression for tst_qdeclarativestates::editProperties introduced by 488e616b50707e5b37162e6d0cfc71a1ffdf9bef. Reviewed-by: Joona Petrell
Diffstat (limited to 'src/declarative/qml/qdeclarativebinding_p.h')
-rw-r--r--src/declarative/qml/qdeclarativebinding_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativebinding_p.h b/src/declarative/qml/qdeclarativebinding_p.h
index 787a3b9..69931d9 100644
--- a/src/declarative/qml/qdeclarativebinding_p.h
+++ b/src/declarative/qml/qdeclarativebinding_p.h
@@ -163,6 +163,7 @@ public:
virtual QString expression() const;
typedef int Identifier;
+ static Identifier Invalid;
static QDeclarativeBinding *createBinding(Identifier, QObject *, QDeclarativeContext *, const QString &, int, QObject *parent=0);
public Q_SLOTS: