Commit 336ea21a authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

When we call to check for updates, we expect updates

This changes it so when there's nothing installed we notify about no
updates being found.

CCBUG: 418082
parent 370e5776
......@@ -220,6 +220,10 @@ void AtticaProvider::loadEntries(const KNSCore::Provider::SearchRequest &request
void AtticaProvider::checkForUpdates()
if (mCachedEntries.isEmpty()) {
Q_EMIT loadingFinished(mCurrentRequest, {});
for (const EntryInternal &e : qAsConst(mCachedEntries)) {
ItemJob<Content> *job = m_provider.requestContent(e.uniqueId());
connect(job, &BaseJob::finished, this, &AtticaProvider::detailsLoaded);
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