aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppVCardIq.cpp
diff options
context:
space:
mode:
authorMatt Broadstone <mbroadst@gmail.com>2012-11-15 18:58:52 -0500
committerJeremy Lainé <jeremy.laine@m4x.org>2012-11-16 07:31:16 +0100
commitbf537e01032f2f0bb013fb45e4a9c13113f77a6f (patch)
tree204a8d6fa700e3ebcb44cf65712cf63764202d9f /src/base/QXmppVCardIq.cpp
parent1ba3b087975e523bb05b0703a5b0fa8392b7429b (diff)
downloadqxmpp-bf537e01032f2f0bb013fb45e4a9c13113f77a6f.tar.gz
move from toAscii() to toLatin1()
Diffstat (limited to 'src/base/QXmppVCardIq.cpp')
-rw-r--r--src/base/QXmppVCardIq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/QXmppVCardIq.cpp b/src/base/QXmppVCardIq.cpp
index a21e887e..11e34e2c 100644
--- a/src/base/QXmppVCardIq.cpp
+++ b/src/base/QXmppVCardIq.cpp
@@ -753,7 +753,7 @@ void QXmppVCardIq::parseElementFromChild(const QDomElement& nodeRecv)
d->url = cardElement.firstChildElement("URL").text();
QDomElement photoElement = cardElement.firstChildElement("PHOTO");
QByteArray base64data = photoElement.
- firstChildElement("BINVAL").text().toAscii();
+ firstChildElement("BINVAL").text().toLatin1();
d->photo = QByteArray::fromBase64(base64data);
d->photoType = photoElement.firstChildElement("TYPE").text();