From d626a9ab0dd8d9ca8c4d6c69a6693acebb8e1f1a Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 16 Nov 2017 15:16:02 -0500 Subject: Get the Iteration over objects working for Lumina 2 (wallpapers). QML Note: The "Repeater" class cannot iterate over objects, just items. To work around this, provide a QStringList instead of a QList, and implement a callback function to return the Object* based on the String ID. --- src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/src-qml.pri | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/src-qml.pri') diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/src-qml.pri b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/src-qml.pri index 99905253..fed18e02 100644 --- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/src-qml.pri +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/src-qml.pri @@ -1,7 +1,8 @@ #Show the QML files to lupdate for translation purposes - not for the actual build lupdate_only{ SOURCES *= $${PWD}/RootDesktop.qml \ - $${PWD}/ContextMenu.qml + $${PWD}/ContextMenu.qml \ + $${PWD}/WallpaperImage.qml } RESOURCES *= $${PWD}/src-qml.qrc -- cgit