From e5b3c12814188415ed31ec231c6e5a03f85c2be2 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sat, 5 Jul 2025 01:19:06 -0500 Subject: [PATCH] Fix warnings in MacOS build --- .../AlienwareMonitorController/AlienwareAW3423DWFController.h | 2 -- Controllers/DRGBController/DRGBController.h | 2 -- .../LIFXSettingsEntry/LIFXSettingsEntry.h | 2 +- .../QMKORGBSettingsEntry/QMKORGBSettingsEntry.h | 2 +- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Controllers/AlienwareMonitorController/AlienwareAW3423DWFController.h b/Controllers/AlienwareMonitorController/AlienwareAW3423DWFController.h index 8e4532e6..49e8362f 100644 --- a/Controllers/AlienwareMonitorController/AlienwareAW3423DWFController.h +++ b/Controllers/AlienwareMonitorController/AlienwareAW3423DWFController.h @@ -28,8 +28,6 @@ public: private: hid_device* dev; std::string location; - unsigned char endpoint_out = 0x02; - unsigned char endpoint_in = 0x81; static const std::vector> OEM_KEYS; diff --git a/Controllers/DRGBController/DRGBController.h b/Controllers/DRGBController/DRGBController.h index eefb501a..26e116b7 100644 --- a/Controllers/DRGBController/DRGBController.h +++ b/Controllers/DRGBController/DRGBController.h @@ -15,7 +15,6 @@ #include #include #include "RGBController.h" -#include "DeviceGuardManager.h" #define DRGB_V4_ONE_PACKAGE_SIZE 316 #define DRGB_V4_PACKAGE_SIZE 340 @@ -42,6 +41,5 @@ private: std::atomic keepalive_thread_run; std::chrono::time_point last_commit_time; unsigned char version[4] = {0, 0, 0,0}; - DeviceGuardManager* guard_manager_ptr; unsigned short device_pid; }; diff --git a/qt/ManualDevicesSettingsPage/LIFXSettingsEntry/LIFXSettingsEntry.h b/qt/ManualDevicesSettingsPage/LIFXSettingsEntry/LIFXSettingsEntry.h index 8d471213..5170f882 100644 --- a/qt/ManualDevicesSettingsPage/LIFXSettingsEntry/LIFXSettingsEntry.h +++ b/qt/ManualDevicesSettingsPage/LIFXSettingsEntry/LIFXSettingsEntry.h @@ -31,6 +31,6 @@ private: Ui::LIFXSettingsEntry *ui; private slots: - void changeEvent(QEvent *event); + void changeEvent(QEvent *event) override; void on_MultizoneCheckBox_stateChanged(int arg1); }; diff --git a/qt/ManualDevicesSettingsPage/QMKORGBSettingsEntry/QMKORGBSettingsEntry.h b/qt/ManualDevicesSettingsPage/QMKORGBSettingsEntry/QMKORGBSettingsEntry.h index 52af4d6a..9f0cc698 100644 --- a/qt/ManualDevicesSettingsPage/QMKORGBSettingsEntry/QMKORGBSettingsEntry.h +++ b/qt/ManualDevicesSettingsPage/QMKORGBSettingsEntry/QMKORGBSettingsEntry.h @@ -21,7 +21,7 @@ class QMKORGBSettingsEntry : public BaseManualDeviceEntry Q_OBJECT private slots: - void changeEvent(QEvent *event); + void changeEvent(QEvent *event) override; public: explicit QMKORGBSettingsEntry(QWidget *parent = nullptr);