Commit 864b8152 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Initially populate the installed snaps

It's the only way we have to know that a snap is intalled
parent a95d91b3
......@@ -55,6 +55,9 @@ SnapBackend::SnapBackend(QObject* parent)
}
}
connect(m_reviews, &SnapReviewsBackend::ratingsReady, this, &AbstractResourcesBackend::emitRatingsReady);
//make sure we populate the installed resources first
populate(m_client.list(), AbstractResource::Installed);
}
int SnapBackend::updatesCount() const
......
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