Commit 4cc2016e authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Only check system upgrades if they are supported by the system

parent 45cea4fc
......@@ -162,7 +162,7 @@ void PackageKitNotifier::refreshDatabase()
if (m_distUpgrades) {
if (!m_distUpgrades && (PackageKit::Daemon::roles() & PackageKit::Transaction::RoleUpgradeSystem)) {
m_distUpgrades = PackageKit::Daemon::getDistroUpgrades();
connect(m_distUpgrades, &PackageKit::Transaction::distroUpgrade, this, &PackageKitNotifier::onDistroUpgrade);
connect(, &PackageKit::Transaction::finished, this, [this]() {
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