aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/src-qml.pri
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-11-16 15:16:02 -0500
committerKen Moore <ken@ixsystems.com>2017-11-16 15:16:02 -0500
commitd626a9ab0dd8d9ca8c4d6c69a6693acebb8e1f1a (patch)
tree86be8c00d7abd6c08345a436fa357c2899666bf9 /src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/src-qml.pri
parentAnother attempt to fix the Repeater of objects issue in Lumina 2. (diff)
downloadlumina-d626a9ab0dd8d9ca8c4d6c69a6693acebb8e1f1a.tar.gz
lumina-d626a9ab0dd8d9ca8c4d6c69a6693acebb8e1f1a.tar.bz2
lumina-d626a9ab0dd8d9ca8c4d6c69a6693acebb8e1f1a.zip
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<Object*>, and implement a callback function to return the Object* based on the String ID.
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/src-qml.pri')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/src-qml.pri3
1 files changed, 2 insertions, 1 deletions
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
bgstack15