diff --git a/containments/homescreen/applicationlistmodel.cpp b/containments/homescreen/applicationlistmodel.cpp index bb70e072..47e22c68 100644 --- a/containments/homescreen/applicationlistmodel.cpp +++ b/containments/homescreen/applicationlistmodel.cpp @@ -88,6 +88,7 @@ void ApplicationListModel::loadApplications() QStringList blacklist = blgroup.readEntry("blacklist", QStringList()); + beginResetModel(); m_applicationList.clear(); @@ -143,6 +144,7 @@ void ApplicationListModel::loadApplications() } blgroup.writeEntry("allapps", bl); + blgroup.writeEntry("blacklist", blacklist); cfg->sync(); std::sort(unorderedList.begin(), unorderedList.end(), appNameLessThan);