From a888de19cd85269d9cfe0d1d7edcc9d94a23538c Mon Sep 17 00:00:00 2001 From: thez3ro Date: Mon, 3 Jul 2017 15:40:05 +0200 Subject: [PATCH] update m_url scheme after fallback to http --- src/gui/EditWidgetIcons.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/EditWidgetIcons.cpp b/src/gui/EditWidgetIcons.cpp index 55bfae673..b29699342 100644 --- a/src/gui/EditWidgetIcons.cpp +++ b/src/gui/EditWidgetIcons.cpp @@ -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); }