From da56f50eb640823e2d48c1308c09626a428a50f5 Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Fri, 14 Aug 2009 12:49:22 +1000 Subject: Improve error message. --- src/declarative/qml/qmlcompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarative/qml/qmlcompiler.cpp b/src/declarative/qml/qmlcompiler.cpp index 75ed94b..5c12d9c 100644 --- a/src/declarative/qml/qmlcompiler.cpp +++ b/src/declarative/qml/qmlcompiler.cpp @@ -1490,7 +1490,7 @@ bool QmlCompiler::buildValueTypeProperty(QObject *type, foreach (Property *prop, obj->properties) { int idx = type->metaObject()->indexOfProperty(prop->name.constData()); if (idx == -1) - COMPILE_EXCEPTION(prop, "Cannot assign to non-existant property"); + COMPILE_EXCEPTION(prop, "Cannot assign to non-existant property" << prop->name); QMetaProperty p = type->metaObject()->property(idx); prop->index = idx; prop->type = p.userType(); -- cgit v0.12