Remove cache when remove provider

This commit is contained in:
craig.p.drummond
2014-05-09 19:38:39 +00:00
committed by craig.p.drummond
parent c0b0da7c82
commit 2e7d7762f3

View File

@@ -1872,6 +1872,7 @@ void StreamsModel::removeInstalledProvider(const QString &key)
if (key==static_cast<CategoryItem *>(i)->configName) {
int row=root->children.indexOf(i);
if (row>=0) {
static_cast<CategoryItem *>(i)->removeCache();
beginRemoveRows(QModelIndex(), row, row);
delete root->children.takeAt(row);
endRemoveRows();