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

@ -6,7 +6,6 @@
#include <qtmetamacros.h>
#include "manager.hpp"
#include "shortcut.hpp"
namespace qs::hyprland::global_shortcuts {
using impl::GlobalShortcutManager;

View file

@ -15,7 +15,7 @@ namespace WlrLayer { // NOLINT
Q_NAMESPACE;
QML_ELEMENT;
enum Enum {
enum Enum : quint8 {
/// Below bottom
Background = 0,
/// Above background, usually below windows
@ -36,7 +36,7 @@ namespace WlrKeyboardFocus { // NOLINT
Q_NAMESPACE;
QML_ELEMENT;
enum Enum {
enum Enum : quint8 {
/// No keyboard input will be accepted.
None = 0,
/// Exclusive access to the keyboard, locking out all other windows.