0
0
mirror of https://github.com/keepassxreboot/keepassxc.git synced 2024-09-20 12:22:16 +02:00

update m_url scheme after fallback to http

This commit is contained in:
thez3ro 2017-07-03 15:40:05 +02:00 committed by Janek Bevendorff
parent 9ceadac299
commit a888de19cd

View File

@ -229,6 +229,7 @@ void EditWidgetIcons::fetchFavicon(const QUrl& url)
MessageBox::warning(this, tr("Error"), tr("Unable to fetch favicon."));
} else {
tempurl.setScheme("http");
m_url = tempurl.url();
tempurl.setPath("/favicon.ico");
fetchFavicon(tempurl);
}