Comment 9 for bug 1243395

Revision history for this message
Kevin Wright (kevin-wright-1) wrote :

The example snippets above for the definition of a delegate for a ListView use straightforward QML. It isn't specific to U1db-Qt. The remove method already exists in QML.

The first of the two was to explain that making a document==null, as suggested by one of the comments (that reopened the bug report) isn't likely to do what is seemingly intended.

The second of the two is an illustration of how to approach removing an item from a model of a ListView, using the remove method that already exists for that purpose in QML.

None of those comments or suggestions were questioning the validity of the bug report. Suggesting a property for Document called "deleted" that is set to true for false, or other suggestions, doesn't compete with or contradict a feature request for a delete_doc method.