Commit 6cc89e06 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Don't show packages tightly coupled to other desktops by default

CCBUG: 387379
parent da846ebf
...@@ -126,7 +126,8 @@ QUrl AppPackageKitResource::homepage() ...@@ -126,7 +126,8 @@ QUrl AppPackageKitResource::homepage()
bool AppPackageKitResource::isTechnical() const bool AppPackageKitResource::isTechnical() const
{ {
return false; static QString desktop = QString::fromUtf8(qgetenv("XDG_CURRENT_DESKTOP"));
return !m_appdata.compulsoryForDesktops().contains(desktop);
} }
void AppPackageKitResource::fetchScreenshots() void AppPackageKitResource::fetchScreenshots()
......
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