summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2022-08-09 09:38:39 +0300
committerJuha Vuolle <juha.vuolle@insta.fi>2022-08-30 08:06:01 +0300
commitd3658d7f325e7e238266f7374ce654ae884cffb5 (patch)
tree0c888486e021b8e31e7a73be19339cb8d7316c21 /src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp
parentcd67b4351eb3e64d242b939ef4e5f85b5b07e6c2 (diff)
Add QList<int> metatype registration so that QDataStream works
Recent changes in qtbase have the consequence that some of the metatypes that were previously implicitly/indirectly registered no longer are. Fixes: QTBUG-105469 Change-Id: I3a62fc46dad82c64271d62f74e466b0a54fcd2d4 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp')
-rw-r--r--src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp b/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp
index 69e86ea..172b597 100644
--- a/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp
+++ b/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp
@@ -98,6 +98,7 @@ void QAbstractItemModelReplicaImplementation::registerMetatypes()
qRegisterMetaType<QItemSelectionModel::SelectionFlags>();
qRegisterMetaType<QSize>();
qRegisterMetaType<QIntHash>();
+ qRegisterMetaType<QList<int>>();
}
void QAbstractItemModelReplicaImplementation::initializeModelConnections()