tools/qdoc3/tree.cpp
changeset 37 758a864f9613
parent 33 3e2da88830cd
--- a/tools/qdoc3/tree.cpp	Fri Sep 17 08:34:18 2010 +0300
+++ b/tools/qdoc3/tree.cpp	Mon Oct 04 01:19:32 2010 +0300
@@ -1963,8 +1963,8 @@
         if ((node->subType() == Node::QmlClass) ||
             (node->subType() == Node::QmlBasicType)) {
             QString fb = node->fileBase();
-            if (fb.startsWith(QLatin1String("QML:")))
-                return node->fileBase() + ".html";
+            if (fb.startsWith(QLatin1String("qml-")))
+                return fb + ".html";
             else
                 return "qml-" + node->fileBase() + ".html";
         } else
@@ -1981,7 +1981,7 @@
     else if ((parentNode = node->parent())) {
         if (parentNode->subType() == Node::QmlPropertyGroup) {
             parentNode = parentNode->parent();
-            parentName = "qml-" + parentNode->fileBase() + ".html";
+            parentName = fullDocumentLocation(parentNode);
         }
         else
             parentName = fullDocumentLocation(node->parent());