diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-12-21 12:34:52 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-12-21 12:34:52 +0100 |
commit | 04cccb8283e8950cb1fad12ed15effd5389203c3 (patch) | |
tree | d31e2c84562eaae0eba589f89cd8ebac46ddcea1 /src | |
parent | Modernize blurhashprovider implementation (diff) | |
download | nheko-04cccb8283e8950cb1fad12ed15effd5389203c3.tar.xz |
Cleanup blurhash formatting
Diffstat (limited to 'src')
-rw-r--r-- | src/BlurhashProvider.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/BlurhashProvider.h b/src/BlurhashProvider.h index cb64b6a1..21e4ff16 100644 --- a/src/BlurhashProvider.h +++ b/src/BlurhashProvider.h @@ -19,8 +19,7 @@ public: BlurhashRunnable(const QString &id, const QSize &requestedSize) : m_id(id) , m_requestedSize(requestedSize) - { - } + {} void run() override; signals: @@ -32,8 +31,7 @@ private: QSize m_requestedSize; }; -class BlurhashResponse - : public QQuickImageResponse +class BlurhashResponse : public QQuickImageResponse { public: BlurhashResponse(const QString &id, const QSize &requestedSize, QThreadPool *pool) |