Don't disable all interactions when standby is visible
[harmattan/cameraplus] / qml / Standby.qml
index ed5eb92..37c38b1 100644 (file)
@@ -20,8 +20,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-import QtQuick 1.1
-import com.nokia.meego 1.0
+import QtQuick 2.0
 
 Rectangle {
     id: standby
@@ -40,18 +39,13 @@ Rectangle {
         PropertyAnimation { duration: 250 }
     }
 
-    MouseArea {
-        anchors.fill: parent
-        enabled: parent.visible
-    }
-
     Image {
         id: icon
-        source: "image://theme/icon-l-camera-standby"
+        source: cameraTheme.standbyIcon
         anchors.centerIn: parent
     }
 
-    Label {
+    CameraLabel {
         anchors.top: icon.bottom
         anchors.right: parent.right
         anchors.left: parent.left