use kio for access, so we can haz kioslaves, cookies and proxies

svn path=/trunk/KDE/kdelibs/; revision=994537
This commit is contained in:
Marco Martin 2009-07-10 17:47:08 +00:00
parent a3c54b201c
commit dcd418a3e8

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);