Commit ddefad4b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

rpm-ostree: remove usage of reviews

We don't want reviews. At least not until rpm-ostree images don't have a
standard appstream ids.
parent a5d0849e
......@@ -76,7 +76,6 @@ private:
RpmOstreeBackend::RpmOstreeBackend(QObject *parent)
: AbstractResourcesBackend(parent)
, m_reviews(AppStreamIntegration::global()->reviews())
, m_updater(new StandardBackendUpdater(this))
, m_fetching(false)
, m_isDeploymentUpdate(true)
......@@ -316,11 +315,6 @@ AbstractBackendUpdater *RpmOstreeBackend::backendUpdater() const
return m_updater;
}
AbstractReviewsBackend *RpmOstreeBackend::reviewsBackend() const
{
return m_reviews.data();
}
QString RpmOstreeBackend::displayName() const
{
return QStringLiteral("rpm-ostree");
......
......@@ -17,10 +17,6 @@
#include <QThreadPool>
#include <QtDBus/QDBusPendingReply>
#include <AppStreamQt/component.h>
#include <appstream/AppStreamIntegration.h>
#include <appstream/OdrsReviewsBackend.h>
class RpmOstreeReviewsBackend;
class OdrsReviewsBackend;
class RpmOstreeResource;
......@@ -74,7 +70,10 @@ public:
int updatesCount() const override;
AbstractBackendUpdater *backendUpdater() const override;
AbstractReviewsBackend *reviewsBackend() const override;
AbstractReviewsBackend *reviewsBackend() const override
{
return nullptr;
}
ResultsStream *search(const AbstractResourcesBackend::Filters &search) override;
// return true when OSTreeRPMBackend is ready to be loaded
......@@ -95,7 +94,6 @@ public Q_SLOTS:
void toggleFetching();
private:
QSharedPointer<OdrsReviewsBackend> m_reviews;
StandardBackendUpdater *m_updater;
QVector<RpmOstreeResource *> m_resources;
......
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