summaryrefslogtreecommitdiff
path: root/src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 17:08:10 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-30 20:06:38 +0200
commit938fbcbb74fd23a6135c3379116b0a23a70a7a33 (patch)
tree65e5d93f04765193c61067e2dae5ce85dd2e178a /src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp
parent287285aafd0cb34ffc0e4fe150ee59a5e7dabc2d (diff)
downloadqtconnectivity-938fbcbb74fd23a6135c3379116b0a23a70a7a33.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: Ia2fed44c5db997b6fc13a243f5e312d35f8625ad Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp')
-rw-r--r--src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp b/src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp
index fe8e24be..e4976967 100644
--- a/src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp
+++ b/src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp
@@ -306,7 +306,7 @@ QVariant QBluetoothServiceDiscoveryAgentPrivate::readAttributeValue(QXmlStreamRe
} else if (xml.name() == QLatin1String("text")) {
QString value = xml.attributes().value(QLatin1String("value")).toString();
if (xml.attributes().value(QLatin1String("encoding")) == QLatin1String("hex"))
- value = QString::fromUtf8(QByteArray::fromHex(value.toAscii()));
+ value = QString::fromUtf8(QByteArray::fromHex(value.toLatin1()));
xml.skipCurrentElement();
return value;
} else if (xml.name() == QLatin1String("sequence")) {