From c390a857d3032c59ff0526d2bae57736ef2a637e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Tue, 23 Jun 2015 10:22:21 -0700 Subject: [PATCH] .desktop extension is not needed here --- 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 71563d82..bb70e072 100644 --- a/containments/homescreen/applicationlistmodel.cpp +++ b/containments/homescreen/applicationlistmodel.cpp @@ -119,7 +119,7 @@ void ApplicationListModel::loadApplications() qDebug() << " desktopEntryName: " << service->desktopEntryName(); if (service->isApplication() && - !blacklist.contains(service->desktopEntryName() + QStringLiteral(".desktop")) && + !blacklist.contains(service->desktopEntryName()) && service->showOnCurrentPlatform() && !service->property("Terminal", QVariant::Bool).toBool()) {