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
-
For Gerrit Dashboard: QTBUG-112895 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
490497,3 | Doc fix: QDomDocument::ParseResult is false on error | dev | qt/qtbase | Status: MERGED | +2 | 0 |
490942,2 | Doc fix: QDomDocument::ParseResult is false on error | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
490943,2 | Doc fix: QDomDocument::ParseResult is false on error | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |