Summary: QAbstractProxyModel forwards hasChildren() to the source model, which will return a wrong value for our tree-restructuring model. Current views/proxies don't call hasChildren(), which is how this oversight happened, but implementing it improves model hygiene - could blow up in the future otherwise. Reviewers: #plasma Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D1799wilder-5.14
parent
84671a0813
commit
2d7b6692d3
2 changed files with 10 additions and 0 deletions
Loading…
Reference in new issue