aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppVersionIq.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-07 11:03:07 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-07 11:03:07 +0000
commitb4c7d9a00280886971f01f5de922416899008b35 (patch)
tree752cd6a3e67699353f5f91bd25999780ad0c0196 /src/QXmppVersionIq.cpp
parentcb48eba9e4065306a511a6c3d542f58beb1ac600 (diff)
downloadqxmpp-b4c7d9a00280886971f01f5de922416899008b35.tar.gz
bugfix
Diffstat (limited to 'src/QXmppVersionIq.cpp')
-rw-r--r--src/QXmppVersionIq.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/QXmppVersionIq.cpp b/src/QXmppVersionIq.cpp
index e5f128f3..9b28e4bb 100644
--- a/src/QXmppVersionIq.cpp
+++ b/src/QXmppVersionIq.cpp
@@ -87,9 +87,9 @@ bool QXmppVersionIq::isVersionIq(const QDomElement &element)
void QXmppVersionIq::parseElementFromChild(const QDomElement &element)
{
QDomElement queryElement = element.firstChildElement("query");
- m_name = element.firstChildElement("name").text();
- m_os = element.firstChildElement("os").text();
- m_version = element.firstChildElement("version").text();
+ m_name = queryElement.firstChildElement("name").text();
+ m_os = queryElement.firstChildElement("os").text();
+ m_version = queryElement.firstChildElement("version").text();
}
void QXmppVersionIq::toXmlElementFromChild(QXmlStreamWriter *writer) const