From d3fac6805f31894c277dc620314cac9cf8c6561b Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 25 Sep 2025 18:24:52 +1000 Subject: plugin/hypr: fix devices + better error handling Also fix lock indicators --- plugin/src/Caelestia/Internal/hyprdevices.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin/src/Caelestia/Internal/hyprdevices.hpp') diff --git a/plugin/src/Caelestia/Internal/hyprdevices.hpp b/plugin/src/Caelestia/Internal/hyprdevices.hpp index ad762b9..e10df46 100644 --- a/plugin/src/Caelestia/Internal/hyprdevices.hpp +++ b/plugin/src/Caelestia/Internal/hyprdevices.hpp @@ -32,7 +32,7 @@ public: [[nodiscard]] bool numLock() const; [[nodiscard]] bool main() const; - bool updateLastIpcObject(const QJsonObject& object); + bool updateLastIpcObject(QJsonObject object); signals: void lastIpcObjectChanged(); @@ -60,7 +60,7 @@ public: [[nodiscard]] QList keyboards() const; - bool updateLastIpcObject(const QJsonObject& object); + bool updateLastIpcObject(QJsonObject object); signals: void keyboardsChanged(); -- cgit v1.2.3-freya