summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-01-20 16:14:44 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-01-20 16:14:44 (GMT)
commit2d2ac3395663bb3b5335073b4120cc909194edfb (patch)
tree9b3c6e55635c4bd87c533cb781002eb9b45a4d50 /tools/qdoc3
parentfc66f45827b723eb207f9bad113523f0c26c0d44 (diff)
downloadQt-2d2ac3395663bb3b5335073b4120cc909194edfb.zip
Qt-2d2ac3395663bb3b5335073b4120cc909194edfb.tar.gz
Qt-2d2ac3395663bb3b5335073b4120cc909194edfb.tar.bz2
Ensured that QML elements are marked up as types.
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/qmlmarkupvisitor.cpp3
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;
}