mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 14:43:09 +00:00
Remove confusing entry from config which dumps the application list
This commit is contained in:
parent
3cd3dcd99f
commit
da47c3d10c
1 changed files with 0 additions and 8 deletions
|
|
@ -164,13 +164,8 @@ void ApplicationListModel::loadApplications()
|
|||
auto cfg = KSharedConfig::openConfig(QStringLiteral("applications-blacklistrc"));
|
||||
auto blgroup = KConfigGroup(cfg, QStringLiteral("Applications"));
|
||||
|
||||
// This is only temporary to get a clue what those apps' desktop files are called
|
||||
// I'll remove it once I've done a blacklist
|
||||
QStringList bl;
|
||||
|
||||
QStringList blacklist = blgroup.readEntry("blacklist", QStringList());
|
||||
|
||||
|
||||
beginResetModel();
|
||||
|
||||
m_applicationList.clear();
|
||||
|
|
@ -209,8 +204,6 @@ void ApplicationListModel::loadApplications()
|
|||
service->showOnCurrentPlatform() &&
|
||||
!service->property(QStringLiteral("Terminal"), QVariant::Bool).toBool()) {
|
||||
|
||||
bl << service->desktopEntryName();
|
||||
|
||||
ApplicationData data;
|
||||
data.name = service->name();
|
||||
data.icon = service->icon();
|
||||
|
|
@ -238,7 +231,6 @@ void ApplicationListModel::loadApplications()
|
|||
}
|
||||
}
|
||||
|
||||
blgroup.writeEntry("allapps", bl);
|
||||
blgroup.writeEntry("blacklist", blacklist);
|
||||
cfg->sync();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue