Commit 6440e8f7 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

pk: no need to fetch the details of the updatable packages

When the details are required, they'll be requested. This way we don't
fetch the updatable packages updates when the user just wants to find an
app.

CCBUG: 432657


(cherry picked from commit b9f709b9)
parent f13b07d3
......@@ -706,7 +706,6 @@ void PackageKitBackend::getUpdatesFinished(PackageKit::Transaction::Exit, uint)
{
if (!m_updatesPackageId.isEmpty()) {
resolvePackages(kTransform<QStringList>(m_updatesPackageId, [](const QString &pkgid) { return PackageKit::Daemon::packageName(pkgid); }));
fetchDetails(m_updatesPackageId);
}
m_updater->setProgressing(false);
......
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