Cleanup blurhash formatting

This commit is contained in:
Nicolas Werner 2021-12-21 12:34:52 +01:00
parent d424145ee4
commit 04cccb8283
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -19,8 +19,7 @@ public:
BlurhashRunnable(const QString &id, const QSize &requestedSize) BlurhashRunnable(const QString &id, const QSize &requestedSize)
: m_id(id) : m_id(id)
, m_requestedSize(requestedSize) , m_requestedSize(requestedSize)
{ {}
}
void run() override; void run() override;
signals: signals:
@ -32,8 +31,7 @@ private:
QSize m_requestedSize; QSize m_requestedSize;
}; };
class BlurhashResponse class BlurhashResponse : public QQuickImageResponse
: public QQuickImageResponse
{ {
public: public:
BlurhashResponse(const QString &id, const QSize &requestedSize, QThreadPool *pool) BlurhashResponse(const QString &id, const QSize &requestedSize, QThreadPool *pool)