summaryrefslogtreecommitdiff
path: root/src/previewselectorbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/previewselectorbar.cpp')
-rw-r--r--src/previewselectorbar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/previewselectorbar.cpp b/src/previewselectorbar.cpp
index 8eecffb9..d72e9eb1 100644
--- a/src/previewselectorbar.cpp
+++ b/src/previewselectorbar.cpp
@@ -3,7 +3,7 @@
* This file is a part of the rekonq project
*
* Copyright (C) 2010 by Matthieu Gicquel <matgic78 at gmail dot com>
-* Copyright (C) 2010-2011 by Andrea Diamantini <adjam7 at gmail dot com>
+* Copyright (C) 2010-2012 by Andrea Diamantini <adjam7 at gmail dot com>
*
*
* This program is free software; you can redistribute it and/or
@@ -114,7 +114,6 @@ void PreviewSelectorBar::clicked()
//cleanup the previous image from the cache (useful to refresh the snapshot)
QFile::remove(WebSnap::imagePathFromUrl(urls.at(m_previewIndex)));
- page->mainFrame()->setScrollBarValue(Qt::Vertical, 0);
QPixmap preview = WebSnap::renderPagePreview(*page);
preview.save(WebSnap::imagePathFromUrl(url));