aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppBindIq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/QXmppBindIq.cpp')
-rw-r--r--src/QXmppBindIq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QXmppBindIq.cpp b/src/QXmppBindIq.cpp
index 4548b23b..f818e002 100644
--- a/src/QXmppBindIq.cpp
+++ b/src/QXmppBindIq.cpp
@@ -80,7 +80,7 @@ void QXmppBindIq::parseElementFromChild(const QDomElement &element)
void QXmppBindIq::toXmlElementFromChild(QXmlStreamWriter *writer) const
{
writer->writeStartElement("bind");
- helperToXmlAddAttribute(writer, "xmlns", ns_bind);
+ writer->writeAttribute("xmlns", ns_bind);
if (!m_jid.isEmpty())
helperToXmlAddTextElement(writer, "jid", m_jid);
if (!m_resource.isEmpty())