summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qdoc/node.cpp')
-rw-r--r--src/tools/qdoc/node.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/qdoc/node.cpp b/src/tools/qdoc/node.cpp
index 13c51c721d..e4350f1d9e 100644
--- a/src/tools/qdoc/node.cpp
+++ b/src/tools/qdoc/node.cpp
@@ -98,6 +98,7 @@ Node::Node(Type type, InnerNode *parent, const QString& name)
safeness_(UnspecifiedSafeness),
pageType_(NoPageType),
status_(Commendable),
+ indexNodeFlag_(false),
parent_(parent),
relatesTo_(0),
name_(name)
@@ -513,8 +514,8 @@ QString Node::ditaXmlHref()
else {
href = fileBase();
}
- if (!href.endsWith(".xml"))
- href += ".xml";
+ if (!href.endsWith(".xml") && !href.endsWith(".dita"))
+ href += ".dita";
return href + QLatin1Char('#') + guid();
}