Commit 3356da99 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Don't hold fetching featured apps upon start

Makes for a quicker display of the initial page. The code is already adapted
to the use-case as we do the same when opening by uri.

BUG: 398236
parent 1eeff2c0
......@@ -81,7 +81,7 @@ void FeaturedModel::refresh()
void FeaturedModel::setUris(const QVector<QUrl>& uris)
{
auto backend = ResourcesModel::global()->currentApplicationBackend();
if (uris == m_uris || !backend || backend->isFetching())
if (uris == m_uris || !backend)
return;
QSet<ResultsStream*> streams;
......
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