From 2d52276803a4145546f74d5d179091667e9186ab Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 11 Sep 2010 12:09:47 +0200 Subject: This commit aims to fix all troubles with favicons retrieving. There is at least just another one about threading. But I'm not 100% sure about. And anyway, it will be eventually addressed after 0.6 release.. --- src/webpage.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/webpage.cpp') diff --git a/src/webpage.cpp b/src/webpage.cpp index 4c720767..07f961c5 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -208,7 +208,6 @@ WebPage::WebPage(QWidget *parent) // ----- last stuffs connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(manageNetworkErrors(QNetworkReply*))); connect(this, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished(bool))); - connect(this, SIGNAL(loadStarted()), this, SLOT(loadStarted())); // protocol handler signals connect(&_protHandler, SIGNAL(downloadUrl(const KUrl &)), this, SLOT(downloadUrl(const KUrl &))); @@ -472,15 +471,10 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply) } -void WebPage::loadStarted() -{ - Application::iconManager()->provideIcon(this, _loadingUrl); -} - - void WebPage::loadFinished(bool ok) { Q_UNUSED(ok); + Application::iconManager()->provideIcon(this, _loadingUrl); Application::adblockManager()->applyHidingRules(this); -- cgit v1.2.1