summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-03-08 13:14:03 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-03-08 13:14:03 (GMT)
commit9c44d272a924f4458a3f18ac13fd2e480042d481 (patch)
tree84dcb4bfda2d6a9b8a112af00d193dfcd7f48ab8 /tools/qdoc3/node.cpp
parenta4cb272647cc01b545cc464c85b12aea903146df (diff)
downloadQt-9c44d272a924f4458a3f18ac13fd2e480042d481.zip
Qt-9c44d272a924f4458a3f18ac13fd2e480042d481.tar.gz
Qt-9c44d272a924f4458a3f18ac13fd2e480042d481.tar.bz2
qdoc: Clear a static multimap after each qdocconf file.
Task: QTBUG-8804
Diffstat (limited to 'tools/qdoc3/node.cpp')
-rw-r--r--tools/qdoc3/node.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp
index 1dec17e..d4e4196 100644
--- a/tools/qdoc3/node.cpp
+++ b/tools/qdoc3/node.cpp
@@ -1284,6 +1284,15 @@ QmlClassNode::~QmlClassNode()
}
/*!
+ Clear the multimap so that subsequent runs don't try to use
+ nodes from a previous run.
+ */
+void QmlClassNode::clear()
+{
+ inheritedBy.clear();
+}
+
+/*!
The base file name for this kind of node has "qml_"
prepended to it.