summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-06-27 22:31:51 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-06-27 22:31:51 +0200
commit542ae7ab9318f65a3e40a01f4842cf741fb11762 (patch)
treeddcf1eed419adba1be90dfdcc5f7af8d7cec3115 /src
parentrekonq 0.7.55, KDE SC 4.7 based (diff)
downloadrekonq-542ae7ab9318f65a3e40a01f4842cf741fb11762.tar.xz
Remove the deprecated setCookieJarWindowId to use new setWindow slot.
Diffstat (limited to 'src')
-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