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