summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-08-09 18:53:19 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-08-09 18:53:19 +0200
commit313e496086ccc61dc8c1c10bcbe5ac243f0f6108 (patch)
treee5c9cb3b1e1090d3c9b3482316eac3eb5ead98d7
parent"Clean up" Appearance settings widget (diff)
downloadrekonq-313e496086ccc61dc8c1c10bcbe5ac243f0f6108.tar.xz
Get sure WebIcon does NOT autodelete the icon downloader before done
-rw-r--r--src/icons/webicon.cpp5
1 files 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();
}