summaryrefslogtreecommitdiff
path: root/src/svg/qsvghandler.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 14:22:55 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-05 22:00:38 +0200
commit881fd46fa90ce3c5dfcb6a5c85e9a9975b20a3e9 (patch)
tree117094d01cf0d181d3aa5632bc30fad42be113f8 /src/svg/qsvghandler.cpp
parent9da5330b7224094d282ba75e4af2ce26c09f593b (diff)
downloadqtsvg-881fd46fa90ce3c5dfcb6a5c85e9a9975b20a3e9.tar.gz
Change uses of {to,from}Ascii to {to,from}Latin1
This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: I6a7cd331d0fd76461a1e657675733420a75c46f1 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/svg/qsvghandler.cpp')
-rw-r--r--src/svg/qsvghandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp
index 0e4c77c..9ba213d 100644
--- a/src/svg/qsvghandler.cpp
+++ b/src/svg/qsvghandler.cpp
@@ -2699,7 +2699,7 @@ static QSvgNode *createImageNode(QSvgNode *parent,
if (idx != -1) {
idx += 7;
QString dataStr = filename.mid(idx);
- QByteArray data = QByteArray::fromBase64(dataStr.toAscii());
+ QByteArray data = QByteArray::fromBase64(dataStr.toLatin1());
image = QImage::fromData(data);
} else {
qDebug()<<"QSvgHandler::createImageNode: Unrecognized inline image format!";