show if showOnCurrentPlatform (flip condition)

This commit is contained in:
Marco Martin 2015-06-17 15:25:56 -07:00
parent 8e59ada22e
commit 35fa1e62c8

View file

@ -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();