Get rid of deprecated QModelIndex::child()
ClosedPublic

Authored by yurchor on Aug 19 2019, 6:01 AM.

Details

Summary

QModelIndex::child() is obsolete

https://doc.qt.io/qt-5.13/qmodelindex-obsolete.html

This patch replaces it with QAbstractItemModel::index as recommended.

Test Plan
  1. Compile and install Ark.
  2. Open some archive and try to rename an item in it.

Diff Detail

Repository
R36 Ark
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 15280
Build 15298: arc lint + arc unit
yurchor created this revision.Aug 19 2019, 6:01 AM
Restricted Application added a project: Ark. · View Herald TranscriptAug 19 2019, 6:01 AM
Restricted Application added a subscriber: kde-utils-devel. · View Herald Transcript
yurchor requested review of this revision.Aug 19 2019, 6:01 AM
elvisangelaccio accepted this revision.Aug 24 2019, 4:40 PM
elvisangelaccio added a subscriber: elvisangelaccio.

Thanks. Please push to master.

This revision is now accepted and ready to land.Aug 24 2019, 4:40 PM
This revision was automatically updated to reflect the committed changes.