Remove use of deprecated QModelIndex::child method

Authored by alexmerry on Sep 15 2019, 10:57 AM.

Description

Remove use of deprecated QModelIndex::child method

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.

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D23959

Details

Committed
alexmerrySep 15 2019, 11:23 AM
Reviewer
vkrause
Differential Revision
D23959: Remove use of deprecated QModelIndex::child method
Parents
R201:bae5c5282c19: GIT_SILENT: time to increase version
Branches
Unknown
Tags
Unknown