.desktop extension is not needed here

This commit is contained in:
Sebastian Kügler 2015-06-23 10:22:21 -07:00
parent 44bafbed70
commit c390a857d3

View file

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