diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-08 13:08:33 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-08 13:08:33 +0000 |
| commit | 8a07e9025a1865bcdcaa652665dbc97deac1ec16 (patch) | |
| tree | 81b526b69b6d13ef6ae73e1c9bba2b979bd7c07f /source/QXmppDiscoveryIq.cpp | |
| parent | f24306761d73480962ce4604607f4abf19806742 (diff) | |
| download | qxmpp-8a07e9025a1865bcdcaa652665dbc97deac1ec16.tar.gz | |
use parseElementFromChild in all IQ classes
Diffstat (limited to 'source/QXmppDiscoveryIq.cpp')
| -rw-r--r-- | source/QXmppDiscoveryIq.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/QXmppDiscoveryIq.cpp b/source/QXmppDiscoveryIq.cpp index 8cbe5b6e..a308161a 100644 --- a/source/QXmppDiscoveryIq.cpp +++ b/source/QXmppDiscoveryIq.cpp @@ -144,11 +144,8 @@ bool QXmppDiscoveryIq::isDiscoveryIq(const QDomElement &element) queryElement.namespaceURI() == ns_disco_items); } -void QXmppDiscoveryIq::parse(const QDomElement &element) +void QXmppDiscoveryIq::parseElementFromChild(const QDomElement &element) { - QXmppStanza::parse(element); - - setTypeFromStr(element.attribute("type")); QDomElement queryElement = element.firstChildElement("query"); m_queryNode = queryElement.attribute("node"); if (queryElement.namespaceURI() == ns_disco_items) |
