diff options
author | David Boddie <david.boddie@nokia.com> | 2011-01-20 16:14:44 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-01-20 16:14:44 (GMT) |
commit | 2d2ac3395663bb3b5335073b4120cc909194edfb (patch) | |
tree | 9b3c6e55635c4bd87c533cb781002eb9b45a4d50 /tools/qdoc3/qmlmarkupvisitor.cpp | |
parent | fc66f45827b723eb207f9bad113523f0c26c0d44 (diff) | |
download | Qt-2d2ac3395663bb3b5335073b4120cc909194edfb.zip Qt-2d2ac3395663bb3b5335073b4120cc909194edfb.tar.gz Qt-2d2ac3395663bb3b5335073b4120cc909194edfb.tar.bz2 |
Ensured that QML elements are marked up as types.
Diffstat (limited to 'tools/qdoc3/qmlmarkupvisitor.cpp')
-rw-r--r-- | tools/qdoc3/qmlmarkupvisitor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/qdoc3/qmlmarkupvisitor.cpp b/tools/qdoc3/qmlmarkupvisitor.cpp index 9916be2..7acac48 100644 --- a/tools/qdoc3/qmlmarkupvisitor.cpp +++ b/tools/qdoc3/qmlmarkupvisitor.cpp @@ -862,8 +862,7 @@ bool QmlMarkupVisitor::visit(QDeclarativeJS::AST::DebuggerStatement *statement) bool QmlMarkupVisitor::visit(QDeclarativeJS::AST::UiObjectDefinition *definition) { QHash<QString, QString> attributes; - attributes[QLatin1String("node")] = sourceText(definition->qualifiedTypeNameId->identifierToken); - addMarkedUpToken(definition->qualifiedTypeNameId->identifierToken, QLatin1String("link"), attributes); + addMarkedUpToken(definition->qualifiedTypeNameId->identifierToken, QLatin1String("type")); QDeclarativeJS::AST::Node::accept(definition->initializer, this); return false; } |