From 9f3516a4da8730cbb7db738c6357db738fa3aab7 Mon Sep 17 00:00:00 2001 From: varjolintu Date: Thu, 20 Feb 2020 20:38:07 +0200 Subject: [PATCH] Icon downloader button list check --- src/core/IconDownloader.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/IconDownloader.cpp b/src/core/IconDownloader.cpp index fe346becd..1d9bd01ad 100644 --- a/src/core/IconDownloader.cpp +++ b/src/core/IconDownloader.cpp @@ -126,6 +126,10 @@ void IconDownloader::setUrl(const QString& entryUrl) void IconDownloader::download() { + if (m_urlsToTry.isEmpty()) { + return; + } + if (!m_timeout.isActive()) { int timeout = config()->get("FaviconDownloadTimeout", 10).toInt(); m_timeout.start(timeout * 1000);