diff options
Diffstat (limited to 'src/websnap.h')
-rw-r--r-- | src/websnap.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/websnap.h b/src/websnap.h index 41db8c71..3baa01fd 100644 --- a/src/websnap.h +++ b/src/websnap.h @@ -90,20 +90,10 @@ public: */ static QPixmap renderPagePreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT); - /** - * Snaps a pixmap of size w * h from a visible page - * - * @param page the page to snap - * @param w the image width - * @param h the image height - * - * @return the pixmap snapped from the page - */ - static QPixmap renderVisiblePagePreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT); - + // static QPixmap renderVisiblePagePreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT); TODO: try to make this method work => more previews for the urlbar /** - * Snaps a pixmap of size w * h from a visible page + * Snaps a pixmap of size w * h from a page of a tab that is currently closing * * @param page the page to snap * @param w the image width |