all: fix clang 18 lints

This commit is contained in:
outfoxxed 2024-11-24 02:27:49 -08:00
parent e957e88ccb
commit 2571766d3b
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
27 changed files with 47 additions and 35 deletions

View file

@ -8,6 +8,7 @@
#include <qobject.h>
#include <qqmlintegration.h>
#include <qtmetamacros.h>
#include <qtypes.h>
#include "../../core/retainable.hpp"
#include "../../core/util.hpp"
@ -24,7 +25,7 @@ class NotificationUrgency: public QObject {
QML_SINGLETON;
public:
enum Enum {
enum Enum : quint8 {
Low = 0,
Normal = 1,
Critical = 2,
@ -42,7 +43,7 @@ class NotificationCloseReason: public QObject {
QML_SINGLETON;
public:
enum Enum {
enum Enum : quint8 {
/// The notification expired due to a timeout.
Expired = 1,
/// The notification was explicitly dismissed by the user.