summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 9278a897..b4f6e03d 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -128,13 +128,16 @@ WebPage::WebPage(QWidget *parent)
, _networkAnalyzer(false)
, _isOnRekonqPage(false)
{
- // ----- handling unsupported content...
+ // handling unsupported content...
setForwardUnsupportedContent(true);
connect(this, SIGNAL(unsupportedContent(QNetworkReply*)), this, SLOT(handleUnsupportedContent(QNetworkReply*)));
- // ----- rekonq Network Manager
+ // rekonq Network Manager
NetworkAccessManager *manager = new NetworkAccessManager(this);
+ // set network reply object to emit readyRead when it receives meta data
+ manager->setEmitReadyReadOnMetaDataChange(true);
+
// disable QtWebKit cache to just use KIO one..
manager->setCache(0);
@@ -142,9 +145,6 @@ WebPage::WebPage(QWidget *parent)
if (parent && parent->window())
manager->setWindow(parent->window());
- // set network reply object to emit readyRead when it receives meta data
- manager->setEmitReadyReadOnMetaDataChange(true);
-
setNetworkAccessManager(manager);
// activate ssl warnings