mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Cleanup blurhash formatting
This commit is contained in:
parent
d424145ee4
commit
04cccb8283
1 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue