summaryrefslogtreecommitdiff
path: root/src/websnap.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-06-18 17:22:04 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-06-18 17:22:04 +0200
commit7800e131b954ef646fb4db073eb9d09a677b09b9 (patch)
tree7738b84e6e9afc66adb97aba809a19e6d5a36100 /src/websnap.h
parentAdding a "default" encoding option.. (diff)
downloadrekonq-7800e131b954ef646fb4db073eb9d09a677b09b9.tar.xz
No more save tab previews as they are everytime computed again..
Diffstat (limited to 'src/websnap.h')
-rw-r--r--src/websnap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/websnap.h b/src/websnap.h
index 03d63746..cfc2c83e 100644
--- a/src/websnap.h
+++ b/src/websnap.h
@@ -85,10 +85,11 @@ public:
* @param page the page to snap
* @param w the image width
* @param h the image height
+ * @param save decide to save or not the preview on cache
*
* @return the pixmap snapped from the page
*/
- static QPixmap renderPreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT);
+ static QPixmap renderPreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT, bool save = true);
/**
* Guess the local path where the image for the url provided