summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-15 12:58:56 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-15 12:58:56 +0200
commit32d0da0ba3c17281c4a69ee84b42e98246eb3c5d (patch)
tree4f0b2e33e16bcb5e77db737d59720b7650bcb0d2 /src/webpage.cpp
parentFixing state. Rekonq is not usable now, but this seems a good tech preview. (diff)
downloadrekonq-32d0da0ba3c17281c4a69ee84b42e98246eb3c5d.tar.xz
First adjustments and code about it (it's really simple, anyway..Qt rocks!!!)
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..ea902932 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -73,6 +73,9 @@ WebPage::WebPage(QObject *parent)
, m_pressedButtons(Qt::NoButton)
, m_requestedUrl()
{
+ // Enable plugin support
+ settings()->setAttribute(QWebSettings::PluginsEnabled, true);
+
setForwardUnsupportedContent(true);
setNetworkAccessManager(Application::networkAccessManager());