diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-07-09 15:30:43 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-07-09 15:30:43 +0200 |
commit | b8d5a19481ec28a26e6d8af5370b693a0b890202 (patch) | |
tree | f0a9496aa1d35fbd15a053dac60f59119eaa3ed7 /src/icons | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-b8d5a19481ec28a26e6d8af5370b693a0b890202.tar.xz |
Get sure WebIcon is deleted when done
Diffstat (limited to 'src/icons')
-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(); } |