From 2e7d7762f3671842e1af4e965af1284cefcee916 Mon Sep 17 00:00:00 2001 From: "craig.p.drummond" Date: Fri, 9 May 2014 19:38:39 +0000 Subject: [PATCH] Remove cache when remove provider --- models/streamsmodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/models/streamsmodel.cpp b/models/streamsmodel.cpp index 92b75fcaf..9e0cec70f 100644 --- a/models/streamsmodel.cpp +++ b/models/streamsmodel.cpp @@ -1872,6 +1872,7 @@ void StreamsModel::removeInstalledProvider(const QString &key) if (key==static_cast(i)->configName) { int row=root->children.indexOf(i); if (row>=0) { + static_cast(i)->removeCache(); beginRemoveRows(QModelIndex(), row, row); delete root->children.takeAt(row); endRemoveRows();