diff options
Diffstat (limited to 'src/qdoc/cppcodeparser.cpp')
-rw-r--r-- | src/qdoc/cppcodeparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/cppcodeparser.cpp b/src/qdoc/cppcodeparser.cpp index 5dbd7d59a..aa9c8864d 100644 --- a/src/qdoc/cppcodeparser.cpp +++ b/src/qdoc/cppcodeparser.cpp @@ -402,8 +402,8 @@ void CppCodeParser::processQmlProperties(const Doc &doc, NodeList &nodes, DocLis // valid nodes. Note that it's important to do this *after* constructing // the topic nodes - which need to be written to index before the related // scn. - if (sharedNodes.count() > 1) { - auto *scn = new SharedCommentNode(qmlType, sharedNodes.count(), group); + if (sharedNodes.size() > 1) { + auto *scn = new SharedCommentNode(qmlType, sharedNodes.size(), group); scn->setLocation(doc.startLocation()); nodes.append(scn); docs.append(doc); |