discover/discover-5.16.4-PackageKit-refresh-force.patch

12 lines
690 B
Diff
Raw Permalink Normal View History

--- discover-5.16.4/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp.orig 2019-07-30 12:13:58.000000000 +0200
+++ discover-5.16.4/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp 2019-08-15 10:20:45.411000000 +0200
@@ -396,7 +396,7 @@
if (!m_refresher) {
acquireFetching(true);
- m_refresher = PackageKit::Daemon::refreshCache(false);
+ m_refresher = PackageKit::Daemon::refreshCache(true);
connect(m_refresher.data(), &PackageKit::Transaction::errorCode, this, &PackageKitBackend::transactionError);
connect(m_refresher.data(), &PackageKit::Transaction::finished, this, [this]() {
m_refresher = nullptr;