Added a flash indicator
authorMohammed Sameer <msameer@foolab.org>
Sat, 3 Aug 2013 17:04:22 +0000 (20:04 +0300)
committerMohammed Sameer <msameer@foolab.org>
Sat, 3 Aug 2013 17:04:22 +0000 (20:04 +0300)
qml/ImageOverlay.qml

index 25b6e79..20becc2 100644 (file)
@@ -172,6 +172,11 @@ Item {
             width: parent.width
             spacing: 5
 
             width: parent.width
             spacing: 5
 
+            Indicator {
+                id: flashIndicator
+                source: "image://theme/" + Data.flashIcon(settings.imageFlashMode) + "-screen"
+            }
+
             Indicator {
                 id: resolutionIndicator
                 property string imageAspectRatio: settings.device == 1 ? settings.secondaryImageAspectRatio : settings.primaryImageAspectRatio
             Indicator {
                 id: resolutionIndicator
                 property string imageAspectRatio: settings.device == 1 ? settings.secondaryImageAspectRatio : settings.primaryImageAspectRatio