Show the standby widget when the window is not active regardless of the pipeline...
authorMohammed Sameer <msameer@foolab.org>
Sun, 9 Sep 2012 14:56:51 +0000 (17:56 +0300)
committerMohammed Sameer <msameer@foolab.org>
Sun, 9 Sep 2012 23:01:31 +0000 (02:01 +0300)
qml/CameraPage.qml

index 12f6637..cde3fbd 100644 (file)
@@ -14,7 +14,7 @@ Page {
                 id: standby
                 color: "black"
                 anchors.fill: parent
-                visible: !cam.running
+                visible: !platformWindow.active
                 Image {
                         source: "image://theme/icon-l-camera-standby"
                         anchors.centerIn: parent