summaryrefslogtreecommitdiff
path: root/src/previewimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/previewimage.h')
-rw-r--r--src/previewimage.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/previewimage.h b/src/previewimage.h
index 11dee271..96a11c20 100644
--- a/src/previewimage.h
+++ b/src/previewimage.h
@@ -32,17 +32,17 @@
#include <QLabel>
#include <QImage>
-#include <QString>
+#include <QUrl>
class PreviewImage : public QLabel
{
Q_OBJECT
public:
- PreviewImage(const QString &url);
+ PreviewImage(const QUrl &url);
~PreviewImage();
- QString guessNameFromUrl(QString url);
+ QString guessNameFromUrl(QUrl url);
public slots:
void setSiteImage();
@@ -54,7 +54,7 @@ private:
QPixmap m_pixmap;
WebSnap *ws;
- QString m_url;
+ QUrl m_url;
QString m_savePath;
};