Commit cf301cdf authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't list addons as applications

parent 18082f4c
......@@ -128,7 +128,7 @@ bool AppPackageKitResource::isTechnical() const
{
static QString desktop = QString::fromUtf8(qgetenv("XDG_CURRENT_DESKTOP"));
const auto desktops = m_appdata.compulsoryForDesktops();
return !desktops.isEmpty() && !desktops.contains(desktop);
return (!desktops.isEmpty() && !desktops.contains(desktop)) || m_appdata.kind() == AppStream::Component::KindAddon;
}
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