Don't use deprecated QAbstractItemModel::reset()
ClosedPublic

Authored by zzag on Jul 10 2019, 12:38 PM.

Details

Summary

QAbstractItemModel::reset() is deprecated since Qt 5.0. It is strongly
advised to use combination of QAbstractItemModel::beginResetModel() and
QAbstractItemModel::endResetModel() instead.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zzag created this revision.Jul 10 2019, 12:38 PM
Restricted Application added a project: KWin. · View Herald TranscriptJul 10 2019, 12:38 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Jul 10 2019, 12:38 PM
davidedmundson accepted this revision.Jul 10 2019, 1:37 PM
This revision is now accepted and ready to land.Jul 10 2019, 1:37 PM
This revision was automatically updated to reflect the committed changes.