Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.0
-
258e7ed9f (dev), b09ff420e (6.6), 0fbfde018 (6.5)
-
Foundation Sprint 86
Description
The current documentation claims it returns false.
struct ParseResult { QString errorMessage; qsizetype errorLine = 0; qsizetype errorColumn = 0; explicit operator bool() const noexcept { return errorMessage.isEmpty(); } };
Current doc : Returns true if an error is found by QDomDocument::setContent(); otherwise returns false.
Attachments
Issue Links
- is duplicated by
-
QTBUG-115847 QDomDocument ParseResult bool returned inconsistent with documentation
- Closed