aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppNonSASLAuth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppNonSASLAuth.cpp')
-rw-r--r--src/base/QXmppNonSASLAuth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/QXmppNonSASLAuth.cpp b/src/base/QXmppNonSASLAuth.cpp
index 66e97af2..671f0a82 100644
--- a/src/base/QXmppNonSASLAuth.cpp
+++ b/src/base/QXmppNonSASLAuth.cpp
@@ -86,7 +86,7 @@ void QXmppNonSASLAuthIq::parseElementFromChild(const QDomElement &element)
QDomElement queryElement = element.firstChildElement("query");
m_username = queryElement.firstChildElement("username").text();
m_password = queryElement.firstChildElement("password").text();
- m_digest = QByteArray::fromHex(queryElement.firstChildElement("digest").text().toAscii());
+ m_digest = QByteArray::fromHex(queryElement.firstChildElement("digest").text().toLatin1());
m_resource = queryElement.firstChildElement("resource").text();
}