Commit 629f4787 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix updates count

parent 37f43415
......@@ -403,7 +403,7 @@ bool PackageKitBackend::hasSecurityUpdates() const
int PackageKitBackend::updatesCount() const
{
return resourcesByPackageNames<QSet<AbstractResource*>>(m_updatesPackageId).count();
return upgradeablePackages().count();
}
Transaction* PackageKitBackend::installApplication(AbstractResource* app, const AddonList& addons)
......
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