Commit 335bab6c authored by Sebastian Kügler's avatar Sebastian Kügler

Make sure blacklist is not removed from config

parent a9ffbb3a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment