From ee95b665f335c966c80335c94a934d7a69b02be0 Mon Sep 17 00:00:00 2001 From: megabigbug Date: Sun, 25 Oct 2009 14:49:13 +0100 Subject: A better preview implementation: WebSnap doesn't render borders/background => borders/background not cached => style can be actualized easily. PreviewImage uses a label for display the background and an other label inside for display preview or animation. --- src/websnap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/websnap.h') diff --git a/src/websnap.h b/src/websnap.h index 026c236c..6c5b4af9 100644 --- a/src/websnap.h +++ b/src/websnap.h @@ -52,7 +52,7 @@ public: ~WebSnap(); QPixmap previewImage(); - static QPixmap renderPreview(const QWebPage &page, int w, int h, bool border = false); + static QPixmap renderPreview(const QWebPage &page, int w, int h); QString snapTitle(); QUrl snapUrl(); -- cgit v1.2.1