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

pk: allow un/selecting the (offline) system upgrade

parent e8dc26c1
......@@ -205,7 +205,7 @@ QSet<AbstractResource*> PackageKitUpdater::packagesForPackageId(const QSet<QStri
foreach (AbstractResource * res, m_allUpgradeable) {
if (auto upgrade = dynamic_cast<SystemUpgrade*>(res)) {
if (packages.contains(upgrade->allPackageNames())) {
ret += upgrade->resources();
ret += upgrade;
}
continue;
}
......
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