From 313e496086ccc61dc8c1c10bcbe5ac243f0f6108 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 9 Aug 2013 18:53:19 +0200 Subject: Get sure WebIcon does NOT autodelete the icon downloader before done --- src/icons/webicon.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/icons/webicon.cpp b/src/icons/webicon.cpp index 1d61027b..b27b2e36 100644 --- a/src/icons/webicon.cpp +++ b/src/icons/webicon.cpp @@ -116,9 +116,10 @@ void WebIcon::saveIcon(bool b) // dest url KUrl destUrl(faviconsDir + m_url.host()); - + kDebug() << "DEST URL: " << destUrl; + // will autodelete itself when done - new IconDownloader(faviconUrl, destUrl, this); + new IconDownloader(faviconUrl, destUrl); this->deleteLater(); } -- cgit v1.2.1