diff options
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
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); } |