Commit 68cb2ea3 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

pk: Remove unneeded lambda

parent 0d1c9b0e
......@@ -235,9 +235,7 @@ void PackageKitNotifier::refreshDatabase()
{
if (!m_refresher) {
m_refresher = PackageKit::Daemon::refreshCache(false);
connect(m_refresher.data(), &PackageKit::Transaction::finished, this, [this]() {
recheckSystemUpdateNeeded();
});
connect(m_refresher.data(), &PackageKit::Transaction::finished, this, &PackageKitNotifier::recheckSystemUpdateNeeded);
}
#ifdef PKQT_1_0
......
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