mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-29 01:06:27 -05:00
Icon downloader button list check
This commit is contained in:
parent
c306fb55ae
commit
9f3516a4da
@ -126,6 +126,10 @@ void IconDownloader::setUrl(const QString& entryUrl)
|
|||||||
|
|
||||||
void IconDownloader::download()
|
void IconDownloader::download()
|
||||||
{
|
{
|
||||||
|
if (m_urlsToTry.isEmpty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!m_timeout.isActive()) {
|
if (!m_timeout.isActive()) {
|
||||||
int timeout = config()->get("FaviconDownloadTimeout", 10).toInt();
|
int timeout = config()->get("FaviconDownloadTimeout", 10).toInt();
|
||||||
m_timeout.start(timeout * 1000);
|
m_timeout.start(timeout * 1000);
|
||||||
|
Loading…
Reference in New Issue
Block a user