QueryTreeModelBase prevents cycle creation

Authored by ervin.

Description

QueryTreeModelBase prevents cycle creation

Summary:
For internal drag and drop, we forbid the user to drop an item on one of
its descendents. Otherwise it might create cycles in the data leading to
crashes.

Ideally the check on the data should be done at a lower level, but that
requires the caching facilities which are still in the work.

Reviewers: bensi, franckarrecot, dfaure

Differential Revision: https://phabricator.kde.org/D672

Details

Committed
ervinDec 21 2015, 11:51 AM
Differential Revision
D672: QueryTreeModelBase prevents cycle creation
Parents
R4:a04c00667ca7: Don't reset source model each time pageListModel is requested
Branches
Unknown
Tags
Unknown