backport the use of kio::accessmanager (should solve the issues about

cookies and proxy)

svn path=/branches/KDE/4.3/kdelibs/; revision=995075
This commit is contained in:
Marco Martin 2009-07-11 22:12:15 +00:00
parent e4f50decdd
commit 50c115b656

View File

@ -32,6 +32,7 @@
#include <QtCore/QTimer>
#include <kdebug.h>
#include <accessmanager.h>
#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);