summaryrefslogtreecommitdiff
path: root/plugin/src/Caelestia/Internal/hyprdevices.cpp
diff options
context:
space:
mode:
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) {