Remove use of deprecated QModelIndex::child method
ClosedPublic

Authored by alexmerry on Sep 15 2019, 11:11 AM.

Details

Summary

This will reduce warnings when compiling, and likely make the transition to Qt 6 a tiny bit
simpler. The replacement code is as recommended by Qt documentation, and should be equivalent.

Test Plan

Checked the unit tests pass and that basic operations (reorder, create a folder, move
entries between folders) still work in the subscription tree in the UI.

Diff Detail

Repository
R201 Akregator
Branch
deprecated-qmodelindex-call
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16572
Build 16590: arc lint + arc unit
alexmerry created this revision.Sep 15 2019, 11:11 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptSep 15 2019, 11:11 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
alexmerry requested review of this revision.Sep 15 2019, 11:11 AM
vkrause accepted this revision.Sep 15 2019, 11:17 AM
This revision is now accepted and ready to land.Sep 15 2019, 11:17 AM
alexmerry closed this revision.Sep 15 2019, 11:23 AM