diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-27 12:58:07 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-29 13:28:59 +0200 |
commit | 8f0ef5b6f2e6535fcba83db0ced9e2243ef57de2 (patch) | |
tree | 47b0b7b7ece9a81dd46d45edf20c316d3f304437 /src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp | |
parent | b279b6c7b58d1085d6bb11d341ff2a18b5cab169 (diff) |
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: Ib62dc7739fcc494e1c111053f0f5d52663b174a9
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp')
-rw-r--r-- | src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp b/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp index 27851c8..c830557 100644 --- a/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp +++ b/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp @@ -159,7 +159,7 @@ inline void removeIndexFromRow(const QModelIndex &index, const QVector<int> &rol void QAbstractItemModelReplicaImplementation::onReplicaCurrentChanged(const QModelIndex ¤t, const QModelIndex &previous) { - Q_UNUSED(previous) + Q_UNUSED(previous); IndexList currentIndex = toModelIndexList(current, q); qCDebug(QT_REMOTEOBJECT_MODELS) << Q_FUNC_INFO << "current=" << currentIndex; replicaSetCurrentIndex(currentIndex, QItemSelectionModel::Clear|QItemSelectionModel::Select|QItemSelectionModel::Current); |