summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorToby Tomkins <toby.tomkins@nokia.com>2012-07-31 11:59:07 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-31 05:05:52 +0200
commit61e05e8d2c8f7fe80022b05bcfefa6f1fa4af356 (patch)
treeaa3e365b1332c975b4f2524885aef0ac9058b3c1 /tests
parentfd87e36ca91d0263aa4844180f4ea079ea8d57e9 (diff)
Modify setAttribute parameter, it no longer accepts QUuid.
Change-Id: Icb05fcf183456af17fdbdc69ddfab434a37fa348 Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp b/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp
index d8df8e9a..cdd6d5de 100644
--- a/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp
+++ b/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp
@@ -194,7 +194,7 @@ void tst_QBluetoothServiceInfo::tst_assignment()
QVERIFY(!copyInfo.isValid());
copyInfo = serviceInfo;
- copyInfo.setAttribute(QBluetoothServiceInfo::ProtocolDescriptorList, uuid);
+ copyInfo.setAttribute(QBluetoothServiceInfo::ProtocolDescriptorList, QBluetoothUuid(uuid));
QVERIFY(copyInfo.contains(QBluetoothServiceInfo::ProtocolDescriptorList));
QVERIFY(copyInfo.isComplete());
QVERIFY(copyInfo.attributes().count() > 0);