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

fwupd: Remove unused field

Nobody is reading it (besides QDebug) and was preventing my fwupd
devices from initialising
parent b080bc6b
......@@ -352,15 +352,10 @@ FwupdResource* FwupdBackend::createApp(FwupdDevice *device)
qWarning() << "Fwupd Error: No version! for " << app->m_id;
return nullptr;
}
if(app->m_updateVersion.isNull())
{
qWarning() << "Fwupd Error: No update-version! for " << app->m_id;
return nullptr;
}
checksums = fwupd_release_get_checksums(release);
if(checksums->len == 0)
{
qWarning() << "Fwupd Error: " << app->m_name << "[" << app->m_id << "]" << "(" << app->m_updateVersion << ")" "has no checksums, ignoring as unsafe";
qWarning() << "Fwupd Error: " << app->m_name << "[" << app->m_id << "] has no checksums, ignoring as unsafe";
return nullptr;
}
const QUrl update_uri(QString::fromUtf8(fwupd_release_get_uri(release)));
......
......@@ -90,7 +90,6 @@ public:
QString m_summary;
QString m_description;
QString m_version;
QString m_updateVersion;
QString m_vendor;
QStringList m_categories;
QString m_license;
......
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