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:
parent
4d05c1105a
commit
3d8b09653f
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user