summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativevmemetaobject_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-19 06:25:26 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-19 06:26:31 (GMT)
commitfae16b674b619b73037841a00577de5922a26595 (patch)
treea58b1f7b79c6d24f5d328efb6b9c427daac4b30a /src/declarative/qml/qdeclarativevmemetaobject_p.h
parentd2f8eaca50b9997bd66805787b5042faa28f5ec2 (diff)
downloadQt-fae16b674b619b73037841a00577de5922a26595.zip
Qt-fae16b674b619b73037841a00577de5922a26595.tar.gz
Qt-fae16b674b619b73037841a00577de5922a26595.tar.bz2
Don't crash on deleted objects assigned to variant properties
QTBUG-8077
Diffstat (limited to 'src/declarative/qml/qdeclarativevmemetaobject_p.h')
-rw-r--r--src/declarative/qml/qdeclarativevmemetaobject_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativevmemetaobject_p.h b/src/declarative/qml/qdeclarativevmemetaobject_p.h
index 76390c9..4fc3269 100644
--- a/src/declarative/qml/qdeclarativevmemetaobject_p.h
+++ b/src/declarative/qml/qdeclarativevmemetaobject_p.h
@@ -148,6 +148,7 @@ private:
QScriptValue readVarProperty(int);
QVariant readVarPropertyAsVariant(int);
void writeVarProperty(int, const QScriptValue &);
+ void writeVarProperty(int, const QVariant &);
QAbstractDynamicMetaObject *parent;