diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-02-12 09:12:46 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-02-12 09:12:46 +0000 |
| commit | 6c1eb5edcf0b301d2b30c9a649a23fc79148f5e6 (patch) | |
| tree | 45c247ac169bbc2d0076ea997e2ab99238280cf3 /source/QXmppDiscoveryIq.cpp | |
| parent | e695982aa237b9744649258b65b84a7d0be0169b (diff) | |
| download | qxmpp-6c1eb5edcf0b301d2b30c9a649a23fc79148f5e6.tar.gz | |
fix parsing of discovery items
Diffstat (limited to 'source/QXmppDiscoveryIq.cpp')
| -rw-r--r-- | source/QXmppDiscoveryIq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/QXmppDiscoveryIq.cpp b/source/QXmppDiscoveryIq.cpp index 0207314f..5b25011f 100644 --- a/source/QXmppDiscoveryIq.cpp +++ b/source/QXmppDiscoveryIq.cpp @@ -68,7 +68,7 @@ void QXmppDiscoveryIq::parse( QDomElement &element ) QDomElement itemElement = queryElement.firstChildElement(); while (!itemElement.isNull()) { - m_items.append(QXmppElement(element)); + m_items.append(QXmppElement(itemElement)); itemElement = itemElement.nextSiblingElement(); } } |
