diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/icons/iconmanager.cpp | 2 | ||||
-rw-r--r-- | src/icons/webicon.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/icons/iconmanager.cpp b/src/icons/iconmanager.cpp index 2948fde3..cc09e252 100644 --- a/src/icons/iconmanager.cpp +++ b/src/icons/iconmanager.cpp @@ -210,7 +210,7 @@ QString IconManager::iconPathForUrl(const KUrl &url) void IconManager::provideEngineFavicon(const KUrl &url) { // will autodelete itself when done - new WebIcon(url, this); + new WebIcon(url); } diff --git a/src/icons/webicon.cpp b/src/icons/webicon.cpp index 3bcf18f3..1d61027b 100644 --- a/src/icons/webicon.cpp +++ b/src/icons/webicon.cpp @@ -119,4 +119,6 @@ void WebIcon::saveIcon(bool b) // will autodelete itself when done new IconDownloader(faviconUrl, destUrl, this); + + this->deleteLater(); } |