From 35fa1e62c8156be6083809e7cea062823a0c0ef5 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 17 Jun 2015 15:25:56 -0700 Subject: [PATCH] show if showOnCurrentPlatform (flip condition) --- containments/homescreen/applicationlistmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containments/homescreen/applicationlistmodel.cpp b/containments/homescreen/applicationlistmodel.cpp index a14adc86..2dcee31a 100644 --- a/containments/homescreen/applicationlistmodel.cpp +++ b/containments/homescreen/applicationlistmodel.cpp @@ -110,7 +110,7 @@ void ApplicationListModel::loadApplications() KService::Ptr service(static_cast(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();