Commit 35fa1e62 authored by Marco Martin's avatar Marco Martin

show if showOnCurrentPlatform (flip condition)

parent 8e59ada2
......@@ -110,7 +110,7 @@ void ApplicationListModel::loadApplications()
KService::Ptr service(static_cast<KService* >(entry.data()));
if (service->isApplication() &&
!blacklist.contains(service->desktopEntryName() + QStringLiteral(".desktop")) &&
!service->showOnCurrentPlatform() &&
service->showOnCurrentPlatform() &&
!service->property("Terminal", QVariant::Bool).toBool()) {
data.name = service->name();
......
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