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.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/tools/qdoc/node.cpp b/src/tools/qdoc/node.cpp
index 5fbdb487db3..abb348eb510 100644
--- a/src/tools/qdoc/node.cpp
+++ b/src/tools/qdoc/node.cpp
@@ -2161,10 +2161,13 @@ void QmlClassNode::subclasses(const QString& base, NodeList& subs)
This function splits \a arg on the blank character to get a
QML module name and version number. It then spilts the version
number on the '.' character to get a major version number and
- a minor vrsion number. Both version numbers must be present.
- It stores these components separately. If all three are found,
- true is returned. If any of the three is not found or is not
- correct, false is returned.
+ a minor vrsion number. Both major the major and minor version
+ numbers should be present, but the minor version number is not
+ absolutely necessary.
+
+ It stores the three components separately in this node. If all
+ three are found, true is returned. If any of the three is not
+ found or is not in the correct format, false is returned.
*/
bool Node::setQmlModuleInfo(const QString& arg)
{