diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2010-06-22 18:32:14 +0200 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2010-06-22 18:32:14 +0200 |
commit | 94b9d215c37b6e7b5b539b48dcfe72f297a27973 (patch) | |
tree | dd75109adcc46124ea3c50479a91167c2e98853d /src/websnap.h | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-94b9d215c37b6e7b5b539b48dcfe72f297a27973.tar.xz |
fix (almost) empty area in the previews
Diffstat (limited to 'src/websnap.h')
-rw-r--r-- | src/websnap.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 |