From 6f60d002491a3b437afb068b227d33d5b23772d2 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 18 Dec 2011 10:23:36 +0100 Subject: Why taking risks? Deleting things in the more appropriate place. --- src/webview.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/webview.cpp') diff --git a/src/webview.cpp b/src/webview.cpp index 096b412d..8753b7ec 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -41,7 +41,6 @@ #include "searchengine.h" #include "urlbar.h" #include "webpage.h" -#include "websnap.h" #include "webtab.h" // KDE Includes @@ -107,13 +106,6 @@ WebView::~WebView() { if (m_smoothScrolling) stopScrolling(); - - WebPage* p = page(); - - QPixmap preview = WebSnap::renderClosingPagePreview(*p); - QString path = WebSnap::imagePathFromUrl(p->mainFrame()->url().toString()); - QFile::remove(path); - preview.save(path); } -- cgit v1.2.1