diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-02-01 16:17:37 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-02-03 00:52:49 +0100 |
commit | 1edfdbe00f9a2178b874fa558e3a653350a6c82f (patch) | |
tree | 3326799d74c6fc59e4e90d00864234f83797079b /src/qmlmodels/qqmltableinstancemodel.cpp | |
parent | aacf799ca7aab57133855ed4c1c639c6e8dffe63 (diff) |
QQmlAdaptorModel::setModel: clean up signature
We no longer need the parent parameter.
Change-Id: I2687f051d51269abc0a74c4aafe77230ae9223c1
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmlmodels/qqmltableinstancemodel.cpp')
-rw-r--r-- | src/qmlmodels/qqmltableinstancemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlmodels/qqmltableinstancemodel.cpp b/src/qmlmodels/qqmltableinstancemodel.cpp index 10b44af90b..66bbe4cb17 100644 --- a/src/qmlmodels/qqmltableinstancemodel.cpp +++ b/src/qmlmodels/qqmltableinstancemodel.cpp @@ -461,7 +461,7 @@ void QQmlTableInstanceModel::setModel(const QVariant &model) drainReusableItemsPool(0); if (auto const aim = abstractItemModel()) disconnect(aim, &QAbstractItemModel::dataChanged, this, &QQmlTableInstanceModel::dataChangedCallback); - m_adaptorModel.setModel(model, this); + m_adaptorModel.setModel(model); if (auto const aim = abstractItemModel()) connect(aim, &QAbstractItemModel::dataChanged, this, &QQmlTableInstanceModel::dataChangedCallback); } |