Commit 2df2fb4b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Skip the creation of an unnecessary container

parent e0db9e39
......@@ -93,7 +93,7 @@ FlatpakBackend::FlatpakBackend(QObject* parent)
}
connect(m_reviews.data(), &OdrsReviewsBackend::ratingsReady, this, [this] {
m_reviews->emitRatingFetched(this, kTransform<QList<AbstractResource*>>(m_resources.values(), [] (AbstractResource* r) { return r; }));
m_reviews->emitRatingFetched(this, kTransform<QList<AbstractResource*>>(m_resources, [] (AbstractResource* r) { return r; }));
});
/* Override the umask to 022 to make it possible to share files between
......
......@@ -80,7 +80,7 @@ PackageKitBackend::PackageKitBackend(QObject* parent)
connect(PackageKit::Daemon::global(), &PackageKit::Daemon::restartScheduled, m_updater, &PackageKitUpdater::enableNeedsReboot);
connect(PackageKit::Daemon::global(), &PackageKit::Daemon::isRunningChanged, this, &PackageKitBackend::checkDaemonRunning);
connect(m_reviews.data(), &OdrsReviewsBackend::ratingsReady, this, [this] {
m_reviews->emitRatingFetched(this, kTransform<QList<AbstractResource*>>(m_packages.packages.values(), [] (AbstractResource* r) { return r; }));
m_reviews->emitRatingFetched(this, kTransform<QList<AbstractResource*>>(m_packages.packages, [] (AbstractResource* r) { return r; }));
});
auto proxyWatch = new QFileSystemWatcher(this);
......
Supports Markdown
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