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:
parent
e4f50decdd
commit
50c115b656
@ -32,6 +32,7 @@
|
|||||||
#include <QtCore/QTimer>
|
#include <QtCore/QTimer>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
|
#include <accessmanager.h>
|
||||||
|
|
||||||
#include "plasma/widgets/webview.h"
|
#include "plasma/widgets/webview.h"
|
||||||
|
|
||||||
@ -74,6 +75,7 @@ WebView::WebView(QGraphicsItem *parent)
|
|||||||
setFlags(QGraphicsItem::ItemIsFocusable);
|
setFlags(QGraphicsItem::ItemIsFocusable);
|
||||||
|
|
||||||
QWebPage *page = new QWebPage(this);
|
QWebPage *page = new QWebPage(this);
|
||||||
|
page->setNetworkAccessManager(new KIO::AccessManager(page));
|
||||||
QPalette palette = qApp->palette();
|
QPalette palette = qApp->palette();
|
||||||
palette.setBrush(QPalette::Base, Qt::transparent);
|
palette.setBrush(QPalette::Base, Qt::transparent);
|
||||||
page->setPalette(palette);
|
page->setPalette(palette);
|
||||||
|
Loading…
Reference in New Issue
Block a user