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

Don't catch unneeded value in lambda

parent 9ce57430
......@@ -106,7 +106,7 @@ PackageKitBackend::PackageKitBackend(QObject* parent)
});
}
setWhenAvailable(PackageKit::Daemon::getTimeSinceAction(PackageKit::Transaction::RoleRefreshCache), [this, error](uint timeSince) {
setWhenAvailable(PackageKit::Daemon::getTimeSinceAction(PackageKit::Transaction::RoleRefreshCache), [this](uint timeSince) {
if (timeSince > 3600)
checkForUpdates();
}, 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