Commit 5f189317 authored by David Faure's avatar David Faure

NetworkAccessManagerWebEngine doesn't need to be a QNAM.

It should really be renamed to something like InterceptorManager instead.
parent 299a04f3
......@@ -39,7 +39,7 @@ public:
};
NetworkAccessManagerWebEngine::NetworkAccessManagerWebEngine(QWebEngineView *webEngine, KActionCollection *ac, QObject *parent)
: QNetworkAccessManager(parent),
: QObject(parent),
d(new NetworkAccessManagerWebEnginePrivate)
{
d->mManager = new WebEngineViewer::NetworkUrlInterceptorManager(webEngine, ac, this);
......
......@@ -32,7 +32,7 @@ class WebHitTestResult;
class NetworkPluginUrlInterceptorInterface;
class NetworkAccessManagerWebEnginePrivate;
class NetworkPluginUrlInterceptorConfigureWidget;
class WEBENGINEVIEWER_EXPORT NetworkAccessManagerWebEngine : public QNetworkAccessManager
class WEBENGINEVIEWER_EXPORT NetworkAccessManagerWebEngine : public QObject
{
Q_OBJECT
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment