summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-27 12:58:07 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-29 13:28:59 +0200
commit8f0ef5b6f2e6535fcba83db0ced9e2243ef57de2 (patch)
tree47b0b7b7ece9a81dd46d45edf20c316d3f304437 /src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp
parentb279b6c7b58d1085d6bb11d341ff2a18b5cab169 (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.cpp2
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 &current, 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);