From d0ab264b8aa5f5c7fcb21dd172a1f3f5b777356b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Ander=20Pe=C3=B1alba?= Date: Thu, 2 Sep 2010 18:10:46 +0200 Subject: Include clean-up in the big src directory --- src/webicon.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/webicon.cpp') diff --git a/src/webicon.cpp b/src/webicon.cpp index 98b88a5c..58f8fcfb 100644 --- a/src/webicon.cpp +++ b/src/webicon.cpp @@ -26,7 +26,6 @@ // Self Includes #include "webicon.h" -#include "webicon.moc" // Local Includes #include "application.h" @@ -35,7 +34,6 @@ // Qt Includes #include #include -#include WebIcon::WebIcon(const KUrl& url, QObject *parent) @@ -45,7 +43,7 @@ WebIcon::WebIcon(const KUrl& url, QObject *parent) m_page.settings()->setAttribute(QWebSettings::PluginsEnabled, false); m_page.settings()->setAttribute(QWebSettings::JavascriptEnabled, false); m_page.settings()->setAttribute(QWebSettings::PrivateBrowsingEnabled, true); - + connect(&m_page, SIGNAL(loadFinished(bool)), this, SLOT(saveIcon(bool))); QTimer::singleShot(0, this, SLOT(load())); } @@ -66,6 +64,6 @@ void WebIcon::saveIcon(bool b) { if(b) Application::iconManager()->provideIcon(&m_page, m_url, false); - + this->deleteLater(); } -- cgit v1.2.1