diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-05-03 16:52:19 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-08 02:23:42 +0200 |
commit | f00ee657a579e6a0da34492c221c9ca2059a2db0 (patch) | |
tree | bbf9d132f1b89e4c48a4388a0e8ca845f90eaf78 /tests/auto/qgeocoordinate | |
parent | 88b6015918d6b113a45ea514bbd8083873609486 (diff) | |
download | qtlocation-f00ee657a579e6a0da34492c221c9ca2059a2db0.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: I2e16486d80df6257ab88dc8c3b5d9dd497a19708
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'tests/auto/qgeocoordinate')
-rw-r--r-- | tests/auto/qgeocoordinate/qlocationtestutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgeocoordinate/qlocationtestutils.cpp b/tests/auto/qgeocoordinate/qlocationtestutils.cpp index 178470d8..ec876567 100644 --- a/tests/auto/qgeocoordinate/qlocationtestutils.cpp +++ b/tests/auto/qgeocoordinate/qlocationtestutils.cpp @@ -58,7 +58,7 @@ QString QLocationTestUtils::addNmeaChecksumAndBreaks(const QString &sentence) // XOR byte value of all characters between '$' and '*' int result = 0; for (int i=1; i<sentence.length()-1; i++) - result ^= sentence[i].toAscii(); + result ^= sentence[i].toLatin1(); QString sum; sum.sprintf("%02x", result); return sentence + sum + "\r\n"; |