summaryrefslogtreecommitdiffstats
path: root/basicsuite/Photo Gallery/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/Photo Gallery/main.qml')
-rw-r--r--basicsuite/Photo Gallery/main.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/basicsuite/Photo Gallery/main.qml b/basicsuite/Photo Gallery/main.qml
index fa0e577..d82bd84 100644
--- a/basicsuite/Photo Gallery/main.qml
+++ b/basicsuite/Photo Gallery/main.qml
@@ -16,6 +16,16 @@ Item {
id: imageList
folder: "/data/images"
nameFilters: ["*.png", "*.jpg"]
+
+ showDirs: false
+ }
+
+ Text {
+ id: noImages
+ color: "white"
+ visible: grid.count == 0
+ text: "No images in " + imageList.folder
+ anchors.centerIn: parent
}
GridView {