I don't understand how delegateClicked can be written not with a formal parameter, but with an actual argument. I think you might try removing the delegateClicked function and Item's onClicked entirely, and writing itemdelegate { onClicked: model.folder = ... }.
Bookmarks