From 94b9d215c37b6e7b5b539b48dcfe72f297a27973 Mon Sep 17 00:00:00 2001 From: megabigbug Date: Tue, 22 Jun 2010 18:32:14 +0200 Subject: fix (almost) empty area in the previews --- src/websnap.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/websnap.h') diff --git a/src/websnap.h b/src/websnap.h index cfc2c83e..c9ab2e71 100644 --- a/src/websnap.h +++ b/src/websnap.h @@ -89,8 +89,9 @@ public: * * @return the pixmap snapped from the page */ - static QPixmap renderPreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT, bool save = true); - + static QPixmap renderPagePreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT); + static QPixmap renderTabPreview(const QWebPage &page, int w, int h); + /** * Guess the local path where the image for the url provided * should be @@ -118,6 +119,7 @@ signals: private: QWebPage m_page; KUrl m_url; + static QPixmap render(const QWebPage &page, int w, int h); }; #endif // WEB_SNAP_H -- cgit v1.2.1