summaryrefslogtreecommitdiff
path: root/plugin/src/Caelestia/Internal/hyprdevices.cpp
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-10-14 16:00:17 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-10-14 16:00:17 +1100
commit27953a89d1110d6cc82ff198e1c28f698104d554 (patch)
tree69b302d1f8c0150c9a61e57dad9b0dd80ff11e48 /plugin/src/Caelestia/Internal/hyprdevices.cpp
parenttoasts: add toast for kb layout change (diff)
downloadcaelestia-shell-27953a89d1110d6cc82ff198e1c28f698104d554.tar.gz
caelestia-shell-27953a89d1110d6cc82ff198e1c28f698104d554.tar.bz2
caelestia-shell-27953a89d1110d6cc82ff198e1c28f698104d554.zip
internal: use QQmlListProperty
Fix lsp errors
Diffstat (limited to 'plugin/src/Caelestia/Internal/hyprdevices.cpp')
-rw-r--r--plugin/src/Caelestia/Internal/hyprdevices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/src/Caelestia/Internal/hyprdevices.cpp b/plugin/src/Caelestia/Internal/hyprdevices.cpp
index 3eba7e4..1ac7d25 100644
--- a/plugin/src/Caelestia/Internal/hyprdevices.cpp
+++ b/plugin/src/Caelestia/Internal/hyprdevices.cpp
@@ -85,8 +85,8 @@ bool HyprKeyboard::updateLastIpcObject(QJsonObject object) {
HyprDevices::HyprDevices(QObject* parent)
: QObject(parent) {}
-QList<HyprKeyboard*> HyprDevices::keyboards() const {
- return m_keyboards;
+QQmlListProperty<HyprKeyboard> HyprDevices::keyboards() {
+ return QQmlListProperty<HyprKeyboard>(this, &m_keyboards);
}
bool HyprDevices::updateLastIpcObject(QJsonObject object) {