diff options
Diffstat (limited to 'src/websnap.h')
-rw-r--r-- | src/websnap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/websnap.h b/src/websnap.h index 53686677..026c236c 100644 --- a/src/websnap.h +++ b/src/websnap.h @@ -34,6 +34,7 @@ // Qt Includes #include <QtCore/QObject> #include <QPixmap> +#include <QImage> #include <QWebPage> @@ -51,7 +52,7 @@ public: ~WebSnap(); QPixmap previewImage(); - static QPixmap renderPreview(const QWebPage &page, int w, int h); + static QPixmap renderPreview(const QWebPage &page, int w, int h, bool border = false); QString snapTitle(); QUrl snapUrl(); |