diff options
authorMartin Smith <>2012-08-01 13:53:02 +0200
committerQt by Nokia <>2012-08-01 15:37:46 +0200
commitd61c356516cddb9cb0862d13479acd4c3310a972 (patch)
parentee210248638ee109b1296a00751aa559dd10bffd (diff)
qdoc: Removed useless qdoc warnings
qdoc was printing warning messages when a QML type was not given a minor version number in its \inqmlmodule command. The minor version number is not used for anything, so the warning messages are no longer printed. Change-Id: I5586b4d860fcc8e392de3d388c3327ed0029e266 Reviewed-by: Casper van Donderen <>
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tools/qdoc/node.cpp b/src/tools/qdoc/node.cpp
index 7931cab0a2..c222cb7ff4 100644
--- a/src/tools/qdoc/node.cpp
+++ b/src/tools/qdoc/node.cpp
@@ -2128,11 +2128,7 @@ bool Node::setQmlModule(const ArgLocPair& arg)
qmlModuleVersionMinor_ = dotSplit[1];
return true;
- else
- arg.second.warning(tr("Minor version number must be included in second arg of '\\qmlmodule' and '\\inqmlmodule'; '.0' assumed."));
- else
- arg.second.warning(tr("Module version number 'major.minor' must be second arg of '\\qmlmodule' and '\\inqmlmodule'; '1.0' assumed."));
return false;