From 50c115b6560094602d0ded13b127f4bd9d9a8b20 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sat, 11 Jul 2009 22:12:15 +0000 Subject: [PATCH] backport the use of kio::accessmanager (should solve the issues about cookies and proxy) svn path=/branches/KDE/4.3/kdelibs/; revision=995075 --- widgets/webview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widgets/webview.cpp b/widgets/webview.cpp index 07a50c1db..9f8f6ea1f 100644 --- a/widgets/webview.cpp +++ b/widgets/webview.cpp @@ -32,6 +32,7 @@ #include #include +#include #include "plasma/widgets/webview.h" @@ -74,6 +75,7 @@ WebView::WebView(QGraphicsItem *parent) setFlags(QGraphicsItem::ItemIsFocusable); QWebPage *page = new QWebPage(this); + page->setNetworkAccessManager(new KIO::AccessManager(page)); QPalette palette = qApp->palette(); palette.setBrush(QPalette::Base, Qt::transparent); page->setPalette(palette);