diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-01 00:02:24 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-01 00:02:24 +0900 |
commit | b469f1c9ab7603a297b1c0082d804312cabbd550 (patch) | |
tree | 0af150a0180b12d9a74fb40c96ef9a184508039f /jobs/mediathumbnailjob.h | |
parent | 715ebcfc5c33ff83cc8f185b6e14cfbba01c637b (diff) | |
parent | ae59271da3a199eb936aa709893ef592cd51f172 (diff) | |
download | libquotient-b469f1c9ab7603a297b1c0082d804312cabbd550.tar.gz libquotient-b469f1c9ab7603a297b1c0082d804312cabbd550.zip |
Merge branch 'master' into kitsune-apigen
Diffstat (limited to 'jobs/mediathumbnailjob.h')
-rw-r--r-- | jobs/mediathumbnailjob.h | 5 |
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; }; } |