summaryrefslogtreecommitdiff
path: root/src/websnap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/websnap.h')
-rw-r--r--src/websnap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/websnap.h b/src/websnap.h
index 7feb37fb..ee513154 100644
--- a/src/websnap.h
+++ b/src/websnap.h
@@ -45,7 +45,7 @@ class WebSnap : public QObject
Q_OBJECT
public:
- WebSnap(const QString &url);
+ WebSnap(const QUrl &url);
QPixmap previewImage();
static QPixmap renderPreview(const QWebPage &page, int w, int h);
@@ -61,7 +61,7 @@ private:
QWebPage m_page;
QPixmap m_image;
- QString m_url;
+ QUrl m_url;
};
#endif // WEB_SNAP_H