Fix warnings in MacOS build
This commit is contained in:
parent
df73d0263a
commit
e5b3c12814
4 changed files with 2 additions and 6 deletions
|
|
@ -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<std::vector<unsigned char>> OEM_KEYS;
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
#include <vector>
|
||||
#include <hidapi.h>
|
||||
#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<bool> keepalive_thread_run;
|
||||
std::chrono::time_point<std::chrono::steady_clock> last_commit_time;
|
||||
unsigned char version[4] = {0, 0, 0,0};
|
||||
DeviceGuardManager* guard_manager_ptr;
|
||||
unsigned short device_pid;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue