From 27953a89d1110d6cc82ff198e1c28f698104d554 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 14 Oct 2025 16:00:17 +1100 Subject: internal: use QQmlListProperty Fix lsp errors --- plugin/src/Caelestia/Internal/hyprdevices.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin/src/Caelestia/Internal/hyprdevices.cpp') 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 HyprDevices::keyboards() const { - return m_keyboards; +QQmlListProperty HyprDevices::keyboards() { + return QQmlListProperty(this, &m_keyboards); } bool HyprDevices::updateLastIpcObject(QJsonObject object) { -- cgit v1.2.3-freya