summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index b33d2cce..697cf448 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -42,6 +42,7 @@
#include "cookiejar.h"
#include "networkaccessmanager.h"
#include "webview.h"
+#include "webpluginfactory.h"
// KDE Includes
#include <KStandardDirs>
@@ -73,6 +74,8 @@ WebPage::WebPage(QObject *parent)
, m_pressedButtons(Qt::NoButton)
, m_requestedUrl()
{
+ setPluginFactory(new WebPluginFactory(this));
+
setForwardUnsupportedContent(true);
setNetworkAccessManager(Application::networkAccessManager());