summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/HiddenEvents.h3
-rw-r--r--src/ui/NhekoCursorShape.cpp3
-rw-r--r--src/ui/UIA.h3
-rw-r--r--src/ui/UserProfile.h9
4 files changed, 6 insertions, 12 deletions
diff --git a/src/ui/HiddenEvents.h b/src/ui/HiddenEvents.h

index 52f62bbd..928b14ba 100644 --- a/src/ui/HiddenEvents.h +++ b/src/ui/HiddenEvents.h
@@ -18,8 +18,7 @@ class HiddenEvents : public QObject public: explicit HiddenEvents(QObject *p = nullptr) : QObject(p) - { - } + {} Q_INVOKABLE void toggle(int type); Q_INVOKABLE void save(); diff --git a/src/ui/NhekoCursorShape.cpp b/src/ui/NhekoCursorShape.cpp
index 1c5918b4..10a6ddab 100644 --- a/src/ui/NhekoCursorShape.cpp +++ b/src/ui/NhekoCursorShape.cpp
@@ -10,8 +10,7 @@ NhekoCursorShape::NhekoCursorShape(QQuickItem *parent) : QQuickItem(parent) , currentShape_(Qt::CursorShape::ArrowCursor) -{ -} +{} Qt::CursorShape NhekoCursorShape::cursorShape() const diff --git a/src/ui/UIA.h b/src/ui/UIA.h
index 9d673dea..150b595d 100644 --- a/src/ui/UIA.h +++ b/src/ui/UIA.h
@@ -20,8 +20,7 @@ public: UIA(QObject *parent = nullptr) : QObject(parent) - { - } + {} mtx::http::UIAHandler genericHandler(QString context); diff --git a/src/ui/UserProfile.h b/src/ui/UserProfile.h
index 0f993928..4652a72e 100644 --- a/src/ui/UserProfile.h +++ b/src/ui/UserProfile.h
@@ -45,8 +45,7 @@ public: , verification_status(verification_status_) , lastIp(lastIp_) , lastTs(lastTs_) - { - } + {} DeviceInfo(const QString deviceID, const QString displayName, verification::Status verification_status_) @@ -54,12 +53,10 @@ public: , display_name(displayName) , verification_status(verification_status_) , lastTs(0) - { - } + {} DeviceInfo() : verification_status(verification::UNVERIFIED) - { - } + {} QString device_id; QString display_name;