Remove a misleading sentence from QDomDocument::setContent() doc

QXmlReader has been replaced by QXmlStreamReader and, either way,
there is currently no way to over-ride the purging of space-only
nodes.

Task-number: QTBUG-103753
Pick-to: 6.4 6.3 6.2
Change-Id: I7bae72d81f1b2503f93c691081137b4f60eeadda
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
This commit is contained in:
Edward Welbourne 2022-05-23 14:08:17 +02:00
parent cfcbf38f76
commit 80f8e380db

View File

@ -6117,9 +6117,7 @@ bool QDomDocument::setContent(const QString& text, bool namespaceProcessing, QSt
empty string if the element or attribute has no prefix.
Text nodes consisting only of whitespace are stripped and won't
appear in the QDomDocument. If this behavior is not desired,
one can use the setContent() overload that allows a QXmlReader to be
supplied.
appear in the QDomDocument.
If \a namespaceProcessing is false, the functions
QDomNode::prefix(), QDomNode::localName() and