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/QXmppVCard.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source/QXmppVCard.cpp') diff --git a/source/QXmppVCard.cpp b/source/QXmppVCard.cpp index 9efdf173..8f986c52 100644 --- a/source/QXmppVCard.cpp +++ b/source/QXmppVCard.cpp @@ -148,12 +148,8 @@ void QXmppVCard::setPhoto(const QImage& image) } #endif -void QXmppVCard::parse(const QDomElement& nodeRecv) +void QXmppVCard::parseElementFromChild(const QDomElement& nodeRecv) { - QXmppStanza::parse(nodeRecv); - - setTypeFromStr(nodeRecv.attribute("type")); - // vCard QDomElement cardElement = nodeRecv.firstChildElement("vCard"); m_fullName = cardElement.firstChildElement("FN").text(); -- cgit v1.2.3