all: fix clang 18 lints

This commit is contained in:
outfoxxed 2024-11-24 02:27:49 -08:00
parent e957e88ccb
commit 2571766d3b
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
27 changed files with 47 additions and 35 deletions

View file

@ -20,7 +20,7 @@ class UPowerDeviceState: public QObject {
QML_SINGLETON;
public:
enum Enum {
enum Enum : quint8 {
Unknown = 0,
Charging = 1,
Discharging = 2,
@ -44,7 +44,7 @@ class UPowerDeviceType: public QObject {
QML_SINGLETON;
public:
enum Enum {
enum Enum : quint8 {
Unknown = 0,
LinePower = 1,
Battery = 2,