summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-06-28 17:49:28 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-06-28 17:49:28 +0200
commitceef608527587443098df9284211cebec2e882b9 (patch)
treeff075538236ad5ff6eef0765a635918c10d17ce0 /src/webpage.cpp
parentMerge branch 'master' of gitorious.org:rekonq/mainline (diff)
parentadd comments (diff)
downloadrekonq-ceef608527587443098df9284211cebec2e882b9.tar.xz
Merge commit 'refs/merge-requests/143' of git://gitorious.org/rekonq/mainline into m143
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 32b785b4..9e539f7a 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -46,6 +46,7 @@
#include "networkaccessmanager.h"
#include "adblockmanager.h"
#include "urlbar.h"
+//#include "websnap.h"
#include "sslinfodialog_p.h"
@@ -479,6 +480,16 @@ void WebPage::loadFinished(bool ok)
{
wallet()->fillFormData(mainFrame());
}
+
+/* this dead code is for try WebSnap::renderVisiblePagePreview()
+ if (ok)
+ {
+ QPixmap preview = WebSnap::renderVisiblePagePreview(*this);
+ QString path = WebSnap::imagePathFromUrl(mainFrame()->url().toString());
+ QFile::remove(path);
+ preview.save(path);
+ }
+*/
}