summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/webpage.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index adc1577a..0b150320 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -265,10 +265,11 @@ WebPage::WebPage(QWidget *parent)
NetworkAccessManager *manager = new NetworkAccessManager(this);
manager->setCache(0); // disable QtWebKit cache to just use KIO one..
- // set cookieJar window ID..
+ // set cookieJar window..
if (parent && parent->window())
- manager->setCookieJarWindowId(parent->window()->winId());
-
+ manager->setWindow(parent->window());
+
+ manager->setEmitReadyReadOnMetaDataChange(true);
setNetworkAccessManager(manager);
// activate ssl warnings