summaryrefslogtreecommitdiffstats
path: root/basicsuite/Photo Gallery
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-04-29 08:32:16 +0200
committerGunnar Sletta <gunnar.sletta@digia.com>2013-04-29 09:32:56 +0300
commite1dccc5c01b6cb6de7059f9311328fa354795037 (patch)
treefd26a6928e6160594b24854b7eb7af31b8778ba8 /basicsuite/Photo Gallery
parent4be30565fd882fe412d8d40dc65c15f88a479f0f (diff)
minor tweaks
Change-Id: I782d60357e9580258710529c3d0df4301c78cc1b Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'basicsuite/Photo Gallery')
-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 {