summaryrefslogtreecommitdiff
path: root/src/websnap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/websnap.cpp')
-rw-r--r--src/websnap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/websnap.cpp b/src/websnap.cpp
index e5db7c4e..0d72ef3a 100644
--- a/src/websnap.cpp
+++ b/src/websnap.cpp
@@ -167,7 +167,7 @@ void WebSnap::saveResult(bool ok)
{
m_image = renderPreview(m_page, WIDTH, HEIGHT);
}
-
+ QFile::remove(fileForUrl(m_url).toLocalFile());
m_image.save(fileForUrl(m_url).toLocalFile());
kDebug() << "finished";