From bf537e01032f2f0bb013fb45e4a9c13113f77a6f Mon Sep 17 00:00:00 2001 From: Matt Broadstone Date: Thu, 15 Nov 2012 18:58:52 -0500 Subject: move from toAscii() to toLatin1() --- src/base/QXmppVCardIq.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/QXmppVCardIq.cpp') 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(); -- cgit v1.2.3