diff options
Diffstat (limited to 'plugin/src/Caelestia/Internal/hyprdevices.cpp')
| -rw-r--r-- | plugin/src/Caelestia/Internal/hyprdevices.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/src/Caelestia/Internal/hyprdevices.cpp b/plugin/src/Caelestia/Internal/hyprdevices.cpp index 8f63d67..2c94d90 100644 --- a/plugin/src/Caelestia/Internal/hyprdevices.cpp +++ b/plugin/src/Caelestia/Internal/hyprdevices.cpp @@ -40,7 +40,7 @@ bool HyprKeyboard::main() const { return m_lastIpcObject.value("main").toBool(); } -bool HyprKeyboard::updateLastIpcObject(const QJsonObject& object) { +bool HyprKeyboard::updateLastIpcObject(QJsonObject object) { if (m_lastIpcObject == object) { return false; } @@ -89,7 +89,7 @@ QList<HyprKeyboard*> HyprDevices::keyboards() const { return m_keyboards; } -bool HyprDevices::updateLastIpcObject(const QJsonObject& object) { +bool HyprDevices::updateLastIpcObject(QJsonObject object) { const auto val = object.value("keyboards").toArray(); bool dirty = false; |