Don't use deprecated QAbstractItemModel::setRoleNames
ClosedPublic

Authored by zzag on Jul 9 2019, 9:57 PM.

Details

Summary

setRoleNames() method is deprecated since Qt 5.0. It is strongly advised
to reimplement roleNames() method 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 9 2019, 9:57 PM
Restricted Application added a project: KWin. · View Herald TranscriptJul 9 2019, 9:57 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Jul 9 2019, 9:57 PM
apol accepted this revision.Jul 9 2019, 10:58 PM
This revision is now accepted and ready to land.Jul 9 2019, 10:58 PM
This revision was automatically updated to reflect the committed changes.