summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2017-04-12 19:14:00 +0200
committerAleix Pol <[email protected]>2017-04-12 19:14:00 +0200
commit0b848eaca447d9d3341a54349b88f51ee6dd738c (patch)
tree7ebf27d1d9960700419d56f825a0252a0265af78
parent146df22e2b2616805786d02811e5218028f55f2a (diff)
Properly refer to the actual model
Here model represents the delegate data
-rw-r--r--discover/qml/ProgressView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/qml/ProgressView.qml b/discover/qml/ProgressView.qml
index a4a9a29..f6c7974 100644
--- a/discover/qml/ProgressView.qml
+++ b/discover/qml/ProgressView.qml
@@ -74,7 +74,7 @@ Kirigami.BasicListItem {
TransactionListener {
id: listener
resource: model.app
- onCancelled: model.remove(index)
+ onCancelled: progressModel.remove(index)
}
RowLayout {