summaryrefslogtreecommitdiff
path: root/src/websnap.cpp
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2009-12-26 13:00:53 +0100
committermatgic78 <matgic78@gmail.com>2010-02-06 11:22:46 +0100
commit18b87086d1a0e472662f3883962b60dbe57e215f (patch)
tree05642e5ccafe858222463e2bfddaad850c05de95 /src/websnap.cpp
parentVarious changes: (diff)
downloadrekonq-18b87086d1a0e472662f3883962b60dbe57e215f.tar.xz
First expermimental implementation of a new way of choosing a preview
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";