diff options
author | Panagiotis Papadopoulos <pano_90@gmx.net> | 2010-02-02 23:08:40 +0100 |
---|---|---|
committer | Panagiotis Papadopoulos <pano_90@gmx.net> | 2010-02-02 23:08:40 +0100 |
commit | 5efd06bc3dd4c494aa799f5e774a9475a4fa717a (patch) | |
tree | 9540281ba60e520c5edb8949dc38766aae1b72ad /src/webpage.cpp | |
parent | i18n fixes (diff) | |
parent | rekonq 0.3.34 (diff) | |
download | rekonq-5efd06bc3dd4c494aa799f5e774a9475a4fa717a.tar.xz |
Merge branch 'master' of git://gitorious.org/rekonq/mainline into i18n
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 6bf172a6..b2bedffc 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -73,11 +73,19 @@ WebPage::WebPage(QObject *parent) : KWebPage(parent, KWalletIntegration) { - // rekonq own classes integration - setNetworkAccessManager(new NetworkAccessManager(this)); + setForwardUnsupportedContent(true); + + // rekonq Network Manager + NetworkAccessManager *manager = new NetworkAccessManager(this); + + // disable QtWebKit cache to just use KIO one.. + manager->setCache(0); + + setNetworkAccessManager(manager); + + // Web Plugin Factory setPluginFactory(new WebPluginFactory(this)); - setForwardUnsupportedContent(true); connect(networkAccessManager(), SIGNAL(finished(QNetworkReply*)), this, SLOT(manageNetworkErrors(QNetworkReply*))); @@ -91,6 +99,7 @@ WebPage::WebPage(QObject *parent) WebPage::~WebPage() { + disconnect(); } |