summaryrefslogtreecommitdiffstats
path: root/src/nfc/qnearfieldtarget_neard_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-10-19 09:34:09 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2017-10-20 13:37:59 +0000
commit73079b79014f058eebcf28b4d5a46abdee8008af (patch)
tree8b122089aed297ed248f34e5e7f7f55954e77e19 /src/nfc/qnearfieldtarget_neard_p.h
parent0fd7c68a4cd6f703d6a71e66963a357073c45452 (diff)
Convert Q_ARG params to normalized form
This was identified by clazy. Change-Id: If45c1c1898ee2dc4dd6274aa441b1c980a00686f Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/nfc/qnearfieldtarget_neard_p.h')
-rw-r--r--src/nfc/qnearfieldtarget_neard_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nfc/qnearfieldtarget_neard_p.h b/src/nfc/qnearfieldtarget_neard_p.h
index c84e033f..bc1baf2c 100644
--- a/src/nfc/qnearfieldtarget_neard_p.h
+++ b/src/nfc/qnearfieldtarget_neard_p.h
@@ -353,14 +353,14 @@ private:
if (!newNdefMessage.isEmpty()) {
QMetaObject::invokeMethod(this, "ndefMessageRead", Qt::QueuedConnection,
- Q_ARG(const QNdefMessage, newNdefMessage));
+ Q_ARG(QNdefMessage, newNdefMessage));
// the request id in requestCompleted has to match the one created in readNdefMessages
QMetaObject::invokeMethod(this, "requestCompleted", Qt::QueuedConnection,
Q_ARG(const QNearFieldTarget::RequestId, m_currentReadRequestId));
} else {
QMetaObject::invokeMethod(this, "error", Qt::QueuedConnection,
- Q_ARG(const QNearFieldTarget::Error, QNearFieldTarget::UnknownError),
- Q_ARG(const QNearFieldTarget::RequestId, m_currentReadRequestId));
+ Q_ARG(QNearFieldTarget::Error, QNearFieldTarget::UnknownError),
+ Q_ARG(QNearFieldTarget::RequestId, m_currentReadRequestId));
}
m_readRequested = false;