From 8e054830124999a4ebd448e9476cb43bda9ff39f Mon Sep 17 00:00:00 2001 From: 0xd34df00d <0xd34df00d@gmail.com> Date: Mon, 3 Mar 2014 12:03:52 +0400 Subject: Avoid keeping the source QDomDocument in QXmppElement. Serialize the node instead of keeping QDomElement with a ref to the original QDomDOcument. --- src/base/QXmppElement.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/QXmppElement.h') diff --git a/src/base/QXmppElement.h b/src/base/QXmppElement.h index 346e7750..ac41b222 100644 --- a/src/base/QXmppElement.h +++ b/src/base/QXmppElement.h @@ -43,7 +43,7 @@ public: QXmppElement(const QDomElement &element); ~QXmppElement(); - const QDomElement &sourceDomElement() const; + QDomElement sourceDomElement() const; QStringList attributeNames() const; -- cgit v1.2.3