Doc fix: QDomDocument::ParseResult is false on error
The documentation claimed the exact opposite of what the implementation did. Since callers use it the way it's implemented, fix the doc. Fixes: QTBUG-112895 Change-Id: I74d6259727c7af7265224c6d79ba39265663704b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 258e7ed9fd04c39c14d9365fd7aaeb7ba20e64f4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
64a4f7120f
commit
b09ff420e4
@ -6336,8 +6336,8 @@ QT_WARNING_POP
|
|||||||
/*!
|
/*!
|
||||||
\fn QDomDocument::ParseResult::operator bool() const
|
\fn QDomDocument::ParseResult::operator bool() const
|
||||||
|
|
||||||
Returns \c true if an error is found by QDomDocument::setContent();
|
Returns \c false if any error is found by QDomDocument::setContent();
|
||||||
otherwise returns \c false.
|
otherwise returns \c true.
|
||||||
|
|
||||||
\sa QDomDocument::setContent()
|
\sa QDomDocument::setContent()
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user