summaryrefslogtreecommitdiff
path: root/plugin/src/Caelestia/Internal/hyprdevices.hpp
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-25 18:24:52 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-25 18:24:52 +1000
commitd3fac6805f31894c277dc620314cac9cf8c6561b (patch)
treef76a1e32078acadd777453b96660c6118fda59f3 /plugin/src/Caelestia/Internal/hyprdevices.hpp
parentplugin/appdb: delete when backing entries deleted (diff)
downloadcaelestia-shell-d3fac6805f31894c277dc620314cac9cf8c6561b.tar.gz
caelestia-shell-d3fac6805f31894c277dc620314cac9cf8c6561b.tar.bz2
caelestia-shell-d3fac6805f31894c277dc620314cac9cf8c6561b.zip
plugin/hypr: fix devices + better error handling
Also fix lock indicators
Diffstat (limited to 'plugin/src/Caelestia/Internal/hyprdevices.hpp')
-rw-r--r--plugin/src/Caelestia/Internal/hyprdevices.hpp4
1 files changed, 2 insertions, 2 deletions
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<HyprKeyboard*> keyboards() const;
- bool updateLastIpcObject(const QJsonObject& object);
+ bool updateLastIpcObject(QJsonObject object);
signals:
void keyboardsChanged();