summaryrefslogtreecommitdiffstats
path: root/examples/nfc/annotatedurl/annotatedurl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nfc/annotatedurl/annotatedurl.cpp')
-rw-r--r--examples/nfc/annotatedurl/annotatedurl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nfc/annotatedurl/annotatedurl.cpp b/examples/nfc/annotatedurl/annotatedurl.cpp
index 0e6b58fa..acd401f2 100644
--- a/examples/nfc/annotatedurl/annotatedurl.cpp
+++ b/examples/nfc/annotatedurl/annotatedurl.cpp
@@ -143,7 +143,7 @@ void AnnotatedUrl::handleMessage(const QNdefMessage &message, QNearFieldTarget *
QPixmap pixmap;
//! [handleMessage 2]
- foreach (const QNdefRecord &record, message) {
+ for (const QNdefRecord &record : message) {
if (record.isRecordType<QNdefNfcTextRecord>()) {
QNdefNfcTextRecord textRecord(record);