qdoc: Removed useless qdoc warnings
authorMartin Smith <martin.smith@nokia.com>
Wed, 1 Aug 2012 11:53:02 +0000 (13:53 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 1 Aug 2012 13:37:46 +0000 (15:37 +0200)
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 <casper.vandonderen@nokia.com>
src/tools/qdoc/node.cpp

index 7931cab..c222cb7 100644 (file)
@@ -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;
 }