diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-04 06:04:15 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-04 06:04:59 (GMT) |
commit | 57d68b06c15f8426c25e357f97b9154056969e0f (patch) | |
tree | cdd224b86ea9bbead3f92563aadae34285885db6 /src/declarative/qml/qdeclarativeparser.cpp | |
parent | 5599ddd113fe1385e7a6aff708e12af419b8de87 (diff) | |
download | Qt-57d68b06c15f8426c25e357f97b9154056969e0f.zip Qt-57d68b06c15f8426c25e357f97b9154056969e0f.tar.gz Qt-57d68b06c15f8426c25e357f97b9154056969e0f.tar.bz2 |
Improve grouped property error messages
QT-2579
Diffstat (limited to 'src/declarative/qml/qdeclarativeparser.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativeparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativeparser.cpp b/src/declarative/qml/qdeclarativeparser.cpp index 0e3d856..b0599ad 100644 --- a/src/declarative/qml/qdeclarativeparser.cpp +++ b/src/declarative/qml/qdeclarativeparser.cpp @@ -226,9 +226,9 @@ QDeclarativeParser::Property::~Property() if (value) value->release(); } -Object *QDeclarativeParser::Property::getValue() +Object *QDeclarativeParser::Property::getValue(const LocationSpan &l) { - if (!value) value = new Object; + if (!value) { value = new Object; value->location = l; } return value; } |