summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 7e2214fa..89c52e8a 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -168,7 +168,7 @@ WebPage::~WebPage()
{
disconnect();
- QPixmap preview = WebSnap::renderClosingPagePreview(*this);
+ QPixmap preview = WebSnap::renderPagePreview(*this);
QString path = WebSnap::imagePathFromUrl(mainFrame()->url().toString());
QFile::remove(path);
preview.save(path);