From 0527b2da9740862deb795768f8a6a6a3426faaab Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 26 Jul 2017 10:26:58 -0600 Subject: The selection would better be solved using what QItemSelectionModel provides. --- framework/qml/TreeView.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/qml') diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml index 8f4f543b..5434e366 100644 --- a/framework/qml/TreeView.qml +++ b/framework/qml/TreeView.qml @@ -33,6 +33,7 @@ FocusScope { /* * Because active focus is useless in list/treeviews we use the concept of an activeIndex. * The current selection represents the focused index. The activeIndex represents the selected index. + * FIXME: This is what QItemSelectionModel selection vs current selection are for. Try to use that instead. */ property var activeIndex: null signal dropped(var drop, var model) -- cgit v1.2.3