disable retry dialog for logo fetching
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
7a200a337f
commit
694ea65457
6 changed files with 8 additions and 1 deletions
|
@ -317,8 +317,10 @@ std::optional<QIcon> ResourceModel::getIcon(QModelIndex& index, const QUrl& url)
|
|||
if (QPixmapCache::find(url.toString(), &pixmap))
|
||||
return { pixmap };
|
||||
|
||||
if (!m_current_icon_job)
|
||||
if (!m_current_icon_job) {
|
||||
m_current_icon_job.reset(new NetJob("IconJob", APPLICATION->network()));
|
||||
m_current_icon_job->setAskRetry(false);
|
||||
}
|
||||
|
||||
if (m_currently_running_icon_actions.contains(url))
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue