D23960: [KTextEditor] Port away from deprecated QModelIndex::child()

David Faure noreply at phabricator.kde.org
Sun Sep 15 13:59:53 BST 2019


dfaure created this revision.
dfaure added reviewers: cullmann, dhaumann.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
dfaure requested review of this revision.

REVISION SUMMARY
  A bit more verbose in some places, but actually simpler in code
  that was checking parent.isValid() and calling index or child, while index does it all.

TEST PLAN
  Compiles

REPOSITORY
  R39 KTextEditor

BRANCH
  port_child

REVISION DETAIL
  https://phabricator.kde.org/D23960

AFFECTED FILES
  src/completion/kateargumenthinttree.cpp
  src/completion/katecompletionmodel.cpp
  src/completion/katecompletiontree.cpp
  src/completion/katecompletionwidget.cpp
  src/schema/katecolortreewidget.cpp

To: dfaure, cullmann, dhaumann
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190915/b4192aa6/attachment.html>


More information about the KWrite-Devel mailing list