aboutsummaryrefslogtreecommitdiff
path: root/jobs/mediathumbnailjob.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-09-16 22:30:49 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-09-16 22:30:49 +0900
commit16fd53ff0be54531661e9e0cd27c4f893295b62e (patch)
tree00171a62c9f13b973ddcc16faad3864dbe8d56e2 /jobs/mediathumbnailjob.h
parent726f8d464f4b29f6fd3dc92fa5493e239970b209 (diff)
parentcb3848c1e7fe09c2e778d38139c399b9f0484ce5 (diff)
downloadlibquotient-16fd53ff0be54531661e9e0cd27c4f893295b62e.tar.gz
libquotient-16fd53ff0be54531661e9e0cd27c4f893295b62e.zip
Merge branch 'master' into kitsune-invite-kick
Diffstat (limited to 'jobs/mediathumbnailjob.h')
-rw-r--r--jobs/mediathumbnailjob.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/jobs/mediathumbnailjob.h b/jobs/mediathumbnailjob.h
index 307d0a99..186da829 100644
--- a/jobs/mediathumbnailjob.h
+++ b/jobs/mediathumbnailjob.h
@@ -31,15 +31,14 @@ namespace QMatrixClient
public:
MediaThumbnailJob(const ConnectionData* data, QUrl url, QSize requestedSize,
ThumbnailType thumbnailType=ThumbnailType::Scale);
- virtual ~MediaThumbnailJob();
QPixmap thumbnail();
+ QPixmap scaledThumbnail(QSize toSize);
protected:
Status parseReply(QByteArray data) override;
private:
- class Private;
- Private* d;
+ QPixmap pixmap;
};
}