From 64f8d8c72874cd2aca592045e861a7d73d058e15 Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Fri, 24 Jul 2009 15:32:55 +1000 Subject: Fix assert QmlMetaType::attachedPropertiesFuncId already has the hack, not needed from here too! --- 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 20f0d93f..2e8666d 100644 --- a/src/declarative/qml/qmlcompiler.cpp +++ b/src/declarative/qml/qmlcompiler.cpp @@ -1427,7 +1427,7 @@ bool QmlCompiler::buildAttachedProperty(QmlParser::Property *prop, const BindingContext &ctxt) { Q_ASSERT(prop->value); - int id = QmlMetaType::attachedPropertiesFuncId("Qt/4.6/"+prop->name); // XXX Should not hard-code namespace + int id = QmlMetaType::attachedPropertiesFuncId(prop->name); Q_ASSERT(id != -1); // This is checked in compileProperty() prop->index = id; -- cgit v0.12