From 8a07e9025a1865bcdcaa652665dbc97deac1ec16 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 8 Jul 2010 13:08:33 +0000 Subject: use parseElementFromChild in all IQ classes --- source/QXmppDiscoveryIq.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/QXmppDiscoveryIq.cpp') 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) -- cgit v1.2.3