mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
Fix lint
This commit is contained in:
parent
d409bab838
commit
6367d94623
1 changed files with 3 additions and 6 deletions
|
@ -14,8 +14,7 @@
|
||||||
|
|
||||||
#include <mtx/common.hpp>
|
#include <mtx/common.hpp>
|
||||||
|
|
||||||
class MxcImageRunnable
|
class MxcImageRunnable : public QObject
|
||||||
: public QObject
|
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -29,8 +28,7 @@ public:
|
||||||
, m_requestedSize(requestedSize)
|
, m_requestedSize(requestedSize)
|
||||||
, m_crop(crop)
|
, m_crop(crop)
|
||||||
, m_radius(radius)
|
, m_radius(radius)
|
||||||
{
|
{}
|
||||||
}
|
|
||||||
|
|
||||||
void run();
|
void run();
|
||||||
|
|
||||||
|
@ -39,8 +37,7 @@ public:
|
||||||
bool m_crop;
|
bool m_crop;
|
||||||
double m_radius;
|
double m_radius;
|
||||||
};
|
};
|
||||||
class MxcImageResponse
|
class MxcImageResponse : public QQuickImageResponse
|
||||||
: public QQuickImageResponse
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MxcImageResponse(const QString &id, bool crop, double radius, const QSize &requestedSize)
|
MxcImageResponse(const QString &id, bool crop, double radius, const QSize &requestedSize)
|
||||||
|
|
Loading…
Reference in a new issue