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

Don't try to list firmwares from PackageKit

These aren't distributed by packagekit normally, we need a fwupd backend
parent f50e0ff1
......@@ -149,6 +149,9 @@ void PackageKitBackend::reloadPackageList()
QStringList neededPackages;
neededPackages.reserve(components.size());
foreach(const AppStream::Component& component, components) {
if (component.kind() == AppStream::Component::KindFirmware)
continue;
const auto pkgNames = component.packageNames();
if (pkgNames.isEmpty()) {
if (component.kind() == AppStream::Component::KindDesktopApp) {
......
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