diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-11-16 08:30:04 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-11-16 08:30:04 (GMT) |
commit | 7db99f103981b6b45cb70a5837eb6b439d33e207 (patch) | |
tree | ca9163d9bc8336a83e2f2ff364aefed5c38f204f /src/declarative/qml/qmlcompiler.cpp | |
parent | d51de46fe6d52126c57623156a5c7e4ed61a51a7 (diff) | |
download | Qt-7db99f103981b6b45cb70a5837eb6b439d33e207.zip Qt-7db99f103981b6b45cb70a5837eb6b439d33e207.tar.gz Qt-7db99f103981b6b45cb70a5837eb6b439d33e207.tar.bz2 |
Tests
Diffstat (limited to 'src/declarative/qml/qmlcompiler.cpp')
-rw-r--r-- | src/declarative/qml/qmlcompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlcompiler.cpp b/src/declarative/qml/qmlcompiler.cpp index 2cb44a3..9000339 100644 --- a/src/declarative/qml/qmlcompiler.cpp +++ b/src/declarative/qml/qmlcompiler.cpp @@ -2044,12 +2044,12 @@ bool QmlCompiler::checkDynamicMeta(QmlParser::Object *obj) if (prop.isDefaultProperty) { if (seenDefaultProperty) - COMPILE_EXCEPTION(obj, qApp->translate("QmlCompiler","Duplicate default property")); + COMPILE_EXCEPTION(&prop, qApp->translate("QmlCompiler","Duplicate default property")); seenDefaultProperty = true; } if (propNames.contains(prop.name)) - COMPILE_EXCEPTION(obj, qApp->translate("QmlCompiler","Duplicate property name")); + COMPILE_EXCEPTION(&prop, qApp->translate("QmlCompiler","Duplicate property name")); propNames.insert(prop.name); } |