diff options
| author | 0xd34df00d <0xd34df00d@gmail.com> | 2014-03-03 12:03:52 +0400 |
|---|---|---|
| committer | 0xd34df00d <0xd34df00d@gmail.com> | 2014-03-03 12:03:52 +0400 |
| commit | 8e054830124999a4ebd448e9476cb43bda9ff39f (patch) | |
| tree | e623ac3c0bb9b557647f7c2af67ba392aef14f33 /src/base/QXmppElement.h | |
| parent | 3f73de1f0305fb2cd62ef81416c331fbb59d27e7 (diff) | |
| download | qxmpp-8e054830124999a4ebd448e9476cb43bda9ff39f.tar.gz | |
Avoid keeping the source QDomDocument in QXmppElement.
Serialize the node instead of keeping QDomElement with a ref to the original
QDomDOcument.
Diffstat (limited to 'src/base/QXmppElement.h')
| -rw-r--r-- | src/base/QXmppElement.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
