aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppPingIq.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-03-25 10:08:37 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-03-25 10:08:37 +0000
commit76e1d99be97a9cf9ebc00bdf73c4ea648f36d076 (patch)
tree96056b9da1e09701e1c95c13bcaf1146be29bd2b /source/QXmppPingIq.cpp
parent92366a2ac652d955666c2b55b440d780755fd803 (diff)
downloadqxmpp-76e1d99be97a9cf9ebc00bdf73c4ea648f36d076.tar.gz
QXmppPingIq::isPingIq should take a const QDomElement& as argument
Diffstat (limited to 'source/QXmppPingIq.cpp')
-rw-r--r--source/QXmppPingIq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/QXmppPingIq.cpp b/source/QXmppPingIq.cpp
index 3b29139d..aa72c873 100644
--- a/source/QXmppPingIq.cpp
+++ b/source/QXmppPingIq.cpp
@@ -31,7 +31,7 @@ QXmppPingIq::QXmppPingIq() : QXmppIq(QXmppIq::Get)
{
}
-bool QXmppPingIq::isPingIq( QDomElement &element )
+bool QXmppPingIq::isPingIq(const QDomElement &element)
{
QDomElement pingElement = element.firstChildElement("ping");
return (element.attribute("type") == "get" &&