diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-06-18 18:17:36 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-06-18 18:17:36 +0200 |
commit | 5a2989d17cdcd58c6a916f1b01b6d86d3a975019 (patch) | |
tree | c7d13e102f72eb40e4fe0688d407a2c8a71d7cad | |
parent | no more scrollbar on rendered previews (diff) | |
download | rekonq-5a2989d17cdcd58c6a916f1b01b6d86d3a975019.tar.xz |
After a brief discussion with Lionel it seemed clear this is not
the best way to achieve that result :(
Forwarding this problem to 1.0 release, sorry
Revert "Saving preview on ok loadFinished.."
This reverts commit c42ebaaead8bc7494ada6d84108ba228b5145210.
-rw-r--r-- | src/webpage.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 94a4bb48..32b785b4 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -46,7 +46,6 @@ #include "networkaccessmanager.h" #include "adblockmanager.h" #include "urlbar.h" -#include "websnap.h" #include "sslinfodialog_p.h" @@ -408,6 +407,7 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply) if (!isLocal) { + KParts::BrowserOpenOrSaveQuestion dlg(Application::instance()->mainWindow(), replyUrl, mimeType); if(!suggestedFileName.isEmpty()) dlg.setSuggestedFileName(suggestedFileName); @@ -466,6 +466,8 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply) void WebPage::loadFinished(bool ok) { + Q_UNUSED(ok); + Application::adblockManager()->applyHidingRules(this); QStringList list = ReKonfig::walletBlackList(); @@ -477,11 +479,6 @@ void WebPage::loadFinished(bool ok) { wallet()->fillFormData(mainFrame()); } - - if(ok) - { - WebSnap::renderPreview(*this); - } } |