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