summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-12-08 02:44:58 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-12-08 02:44:58 +0100
commit6367d946237cf014c9edb08a01ddfcedc3c9da03 (patch)
tree01b2effb1ef513c62438d1dcb7db162baffce8ac /src
parentLimit max memory usage of images (diff)
downloadnheko-6367d946237cf014c9edb08a01ddfcedc3c9da03.tar.xz
Fix lint
Diffstat (limited to 'src')
-rw-r--r--src/MxcImageProvider.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/MxcImageProvider.h b/src/MxcImageProvider.h

index 3d61c2ab..89c3d9aa 100644 --- a/src/MxcImageProvider.h +++ b/src/MxcImageProvider.h
@@ -14,8 +14,7 @@ #include <mtx/common.hpp> -class MxcImageRunnable - : public QObject +class MxcImageRunnable : public QObject { Q_OBJECT @@ -29,8 +28,7 @@ public: , m_requestedSize(requestedSize) , m_crop(crop) , m_radius(radius) - { - } + {} void run(); @@ -39,8 +37,7 @@ public: bool m_crop; double m_radius; }; -class MxcImageResponse - : public QQuickImageResponse +class MxcImageResponse : public QQuickImageResponse { public: MxcImageResponse(const QString &id, bool crop, double radius, const QSize &requestedSize)