From cc6fa971a01ebd2f16db11bea99d2e8d008682fc Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 22 Nov 2013 18:07:45 +0100 Subject: improvements on urlbar STEP 2: - work & fix on search engine favicons - simplify code (and remove dead one) - API clean up - delete ASAP list items and suggestions - let the URL in the suggestions be an hard grey --- src/icons/webicon.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/icons/webicon.cpp') diff --git a/src/icons/webicon.cpp b/src/icons/webicon.cpp index 7230b3a6..77973782 100644 --- a/src/icons/webicon.cpp +++ b/src/icons/webicon.cpp @@ -76,12 +76,6 @@ void WebIcon::saveIcon(bool b) QString faviconsDir = KStandardDirs::locateLocal("cache" , "favicons/" , true); QString faviconPath = faviconsDir + m_url.host(); - if ( QFile::exists(faviconPath + QL1S(".png")) ) - { - this->deleteLater(); - return; - } - // dest url KUrl destUrl(faviconPath); kDebug() << "DEST URL: " << destUrl; -- cgit v1.2.1