mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-06 19:14:57 +11:00
all: fix clang 18 lints
This commit is contained in:
parent
e957e88ccb
commit
2571766d3b
27 changed files with 47 additions and 35 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ void NotificationServer::tryRegister() {
|
|||
}
|
||||
void NotificationServer::onServiceUnregistered(const QString& /*unused*/) {
|
||||
qCDebug(logNotifications) << "Active notification server unregistered, attempting registration";
|
||||
this->tryRegister();
|
||||
NotificationServer::tryRegister();
|
||||
}
|
||||
|
||||
void NotificationServer::CloseNotification(uint id) {
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ signals:
|
|||
// NOLINTEND
|
||||
|
||||
private slots:
|
||||
void onServiceUnregistered(const QString& service);
|
||||
static void onServiceUnregistered(const QString& service);
|
||||
|
||||
private:
|
||||
explicit NotificationServer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue