diff options
Diffstat (limited to 'src')
-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); - } } |