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 <casper.vandonderen@nokia.com>
This commit is contained in:
Martin Smith 2012-08-01 13:53:02 +02:00 committed by Qt by Nokia
parent ee21024863
commit d61c356516

View 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;
}