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

fwupd: change how we tell that a firmware is upgradeable

Not all of them should be, also don't have them appear after upgrading
it because it needs a reboot.
parent 5541cdec
......@@ -76,7 +76,6 @@ QString FwupdBackend::buildDeviceID(FwupdDevice* device)
void FwupdBackend::addResourceToList(FwupdResource* res)
m_resources.insert(res->packageName().toLower(), res);
......@@ -354,6 +353,8 @@ FwupdResource* FwupdBackend::createApp(FwupdDevice *device)
/* link file to application and return its reference */
app->m_file = filename_cache;
if (!app->needsReboot)
return app;
Supports Markdown
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