use KIO::AccessManager again, be careful on those kind of regressions

svn path=/trunk/KDE/kdelibs/; revision=1188121
This commit is contained in:
Marco Martin 2010-10-21 13:12:29 +00:00
parent 87db9df855
commit 1163aad815

View File

@ -27,6 +27,7 @@
#include <QtCore/QTimer>
#include <kio/accessmanager.h>
#include <kdebug.h>
#include "animator.h"
@ -74,6 +75,7 @@ WebView::WebView(QGraphicsItem *parent)
QPalette palette = qApp->palette();
palette.setBrush(QPalette::Base, Qt::transparent);
d->webView->page()->setPalette(palette);
d->webView->page()->setNetworkAccessManager(new KIO::AccessManager(d->webView->page()));
connect(d->webView, SIGNAL(loadProgress(int)),
this, SIGNAL(loadProgress(int)));