Replace deprecated QModelIndex::child() in gdb/lldb tests
ClosedPublic

Authored by flherne on Mar 5 2017, 8:20 PM.

Details

Reviewers
kfunk
Group Reviewers
KDevelop
Summary

In Qt 5.8.0, "QModelIndex::child has been deprecated due to its lack of generality. Use model->index(row, column, index) instead." This causes a lot of -Wdeprecated-declarations spam when compiling.

Trivial search-and-replace with the suggested equivalent.

Test Plan

Only affects test code...

Comparing before/after runs now.

Diff Detail

Repository
R32 KDevelop
Lint
Lint Skipped
Unit
Unit Tests Skipped
flherne created this revision.Mar 5 2017, 8:20 PM
Restricted Application added a subscriber: kdevelop-devel. ยท View Herald TranscriptMar 5 2017, 8:20 PM
kfunk accepted this revision.Mar 5 2017, 8:29 PM
kfunk added a subscriber: kfunk.

+1. To 5.1 branch, please.

This revision is now accepted and ready to land.Mar 5 2017, 8:29 PM