summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2013-09-12 11:09:27 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-19 18:50:01 +0200
commit4a8fe389db0212eb6f85a49612ceddd56dd1aaf4 (patch)
tree8c8b453d4e28b41e15c6b480ba057934fd8dc529 /tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp
parent25222f75d0ff5da0b39c77250510bc0aab0daf73 (diff)
Changing the way nfc target detection works
On Android and BB10 the target detection does not distinguish between NFC tag types when it comes to target detection but rather between the protocols the tags use. This patch removes the parameters used for target detection. Change-Id: I4609cde61d34159bc66b29a27f8d76df816e2c23 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp')
-rw-r--r--tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp b/tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp
index f57b1f23..87e6a41d 100644
--- a/tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp
+++ b/tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp
@@ -106,7 +106,7 @@ void tst_QNearFieldTagType2::waitForMatchingTarget()
{
QSignalSpy targetDetectedSpy(manager, SIGNAL(targetDetected(QNearFieldTarget*)));
- manager->startTargetDetection(QNearFieldTarget::NfcTagType2);
+ manager->startTargetDetection();
QTRY_VERIFY(!targetDetectedSpy.isEmpty());