mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 02:34:45 +00:00
show if showOnCurrentPlatform (flip condition)
This commit is contained in:
parent
8e59ada22e
commit
35fa1e62c8
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ void ApplicationListModel::loadApplications()
|
||||||
KService::Ptr service(static_cast<KService* >(entry.data()));
|
KService::Ptr service(static_cast<KService* >(entry.data()));
|
||||||
if (service->isApplication() &&
|
if (service->isApplication() &&
|
||||||
!blacklist.contains(service->desktopEntryName() + QStringLiteral(".desktop")) &&
|
!blacklist.contains(service->desktopEntryName() + QStringLiteral(".desktop")) &&
|
||||||
!service->showOnCurrentPlatform() &&
|
service->showOnCurrentPlatform() &&
|
||||||
!service->property("Terminal", QVariant::Bool).toBool()) {
|
!service->property("Terminal", QVariant::Bool).toBool()) {
|
||||||
|
|
||||||
data.name = service->name();
|
data.name = service->name();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue