D4946: Replace deprecated QModelIndex::child() in gdb/lldb tests
Francis Herne
noreply at phabricator.kde.org
Sun Mar 5 20:21:00 UTC 2017
flherne created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION 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.
REPOSITORY
R32 KDevelop
REVISION DETAIL
https://phabricator.kde.org/D4946
AFFECTED FILES
debuggers/gdb/unittests/test_gdb.cpp
debuggers/lldb/unittests/test_lldb.cpp
To: flherne, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170305/8add44fa/attachment.html>
More information about the KDevelop-devel
mailing list