1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 02:52:12 +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) void WebView::slotIconUrlChanged(const QUrl &url)
{ {
m_siteIcon = QIcon();
delete m_siteIconLoader; delete m_siteIconLoader;
m_siteIconLoader = new IconLoader(url, this); m_siteIconLoader = new IconLoader(url, this);