mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Make sure blacklist is not removed from config
This commit is contained in:
parent
a9ffbb3abe
commit
335bab6ca0
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue