From 02d9b5fe590303e540c1ff9111e0cfe3194f7e7d Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 25 Sep 2012 18:02:23 +0200 Subject: New Private Browsing mode :D --- src/icons/iconmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/icons') diff --git a/src/icons/iconmanager.cpp b/src/icons/iconmanager.cpp index 7799eb99..33c62893 100644 --- a/src/icons/iconmanager.cpp +++ b/src/icons/iconmanager.cpp @@ -122,7 +122,7 @@ void IconManager::provideIcon(QWebFrame *mFrame, const KUrl &url, bool notify) } // do not load new icons in private browsing.. - if (QWebSettings::globalSettings()->testAttribute(QWebSettings::PrivateBrowsingEnabled)) + if (mFrame->page()->settings()->testAttribute(QWebSettings::PrivateBrowsingEnabled)) { if (notify) emit iconChanged(); -- cgit v1.2.1