summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbluetoothtransfermanager
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 /tests/auto/qbluetoothtransfermanager
parent287285aafd0cb34ffc0e4fe150ee59a5e7dabc2d (diff)
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 'tests/auto/qbluetoothtransfermanager')
-rw-r--r--tests/auto/qbluetoothtransfermanager/tst_qbluetoothtransfermanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qbluetoothtransfermanager/tst_qbluetoothtransfermanager.cpp b/tests/auto/qbluetoothtransfermanager/tst_qbluetoothtransfermanager.cpp
index 8c2e6346..8e223d9e 100644
--- a/tests/auto/qbluetoothtransfermanager/tst_qbluetoothtransfermanager.cpp
+++ b/tests/auto/qbluetoothtransfermanager/tst_qbluetoothtransfermanager.cpp
@@ -154,7 +154,7 @@ void tst_QBluetoothTransferManager::finished()
void tst_QBluetoothTransferManager::serviceDiscovered(const QBluetoothServiceInfo &info)
{
qDebug() << "Found: " << info.device().name() << info.serviceUuid();
- strcpy(BTADDRESS, info.device().address().toString().toAscii());
+ strcpy(BTADDRESS, info.device().address().toString().toLatin1());
done_discovery = true;
}