summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2018-12-06 02:50:15 +0100
committerAleix Pol <[email protected]>2018-12-06 02:50:15 +0100
commitf8d991fab364daeeaccafb2e46781bc32bede23c (patch)
tree5d4d5d613224363c64fce6e0179a282d7a86a27c
parent1882e4100282d38d5aa452d9743ad32d39b57951 (diff)
Fix warning
-rw-r--r--libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp b/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
index 3cfbd33..40ba2c4 100644
--- a/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
+++ b/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
@@ -211,7 +211,7 @@ uint PackageKitNotifier::updatesCount()
return m_normalUpdates;
}
-void PackageKitNotifier::onDistroUpgrade(PackageKit::Transaction::DistroUpgrade type, const QString& name, const QString& description)
+void PackageKitNotifier::onDistroUpgrade(PackageKit::Transaction::DistroUpgrade /*type*/, const QString& name, const QString& description)
{
auto a = new UpgradeAction(name, description, this);
connect(a, &UpgradeAction::triggered, this, [] (const QString &name) {