From d38fb0b535f3144dee4aa33c321e88d07f01add6 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 23 Jul 2012 13:58:57 +0200 Subject: Correct QDomDocument documentation re deletion of internal objects. Task-number: QTBUG-25641 Change-Id: If1f46757d2d1e678e4b9e939da89a497da71dccf Reviewed-by: Casper van Donderen --- src/xml/dom/qdom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xml/dom') diff --git a/src/xml/dom/qdom.cpp b/src/xml/dom/qdom.cpp index 4518db11c7..7d8b7f92a1 100644 --- a/src/xml/dom/qdom.cpp +++ b/src/xml/dom/qdom.cpp @@ -6530,7 +6530,7 @@ void QDomDocumentPrivate::saveDocument(QTextStream& s, const int indent, QDomNod can be accessed using the various QDom classes. All QDom classes only \e reference objects in the internal tree. The internal objects in the DOM tree will get deleted once the last QDom - object referencing them and the QDomDocument itself are deleted. + object referencing them or the QDomDocument itself is deleted. Creation of elements, text nodes, etc. is done using the various factory functions provided in this class. Using the default -- cgit v1.2.3