mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 08:49:42 -05:00
Merge pull request #4354 from varjolintu/hotfix/download_icon_button
Icon downloader button crash fix
This commit is contained in:
commit
e85854aa24
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user