Commit 67eea7f4 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Revert "appstream: readability"

This reverts commit e0db9e39.

BUG: 432721
parent 2dc0f67f
......@@ -18,8 +18,12 @@ AppStreamIntegration * AppStreamIntegration::global()
QSharedPointer<OdrsReviewsBackend> AppStreamIntegration::reviews()
{
if (!m_reviews) {
m_reviews = QSharedPointer<OdrsReviewsBackend>::create();
QSharedPointer<OdrsReviewsBackend> ret;
if (m_reviews) {
ret = m_reviews;
} else {
ret = QSharedPointer<OdrsReviewsBackend>(new OdrsReviewsBackend());
m_reviews = ret;
}
return m_reviews;
return ret;
}
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