1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

WebView: Clear icon when icon url changes

This commit is contained in:
David Rosca 2015-10-05 22:08:31 +02:00
parent 4d05c1105a
commit 3d8b09653f

View File

@ -391,6 +391,7 @@ void WebView::slotLoadFinished(bool ok)
void WebView::slotIconUrlChanged(const QUrl &url)
{
m_siteIcon = QIcon();
delete m_siteIconLoader;
m_siteIconLoader = new IconLoader(url, this);