Remove cache when remove provider
This commit is contained in:
committed by
craig.p.drummond
parent
c0b0da7c82
commit
2e7d7762f3
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user