Make dimmer a property instead of aliasing it
[harmattan/cameraplus] / qml / MainPage.qml
index 1201f8c..58ef4f4 100644 (file)
@@ -25,12 +25,15 @@ import QtCamera 1.0
 import CameraPlus 1.0
 
 // TODO: flash not ready (battery low or flash not ready message)
+// TODO: Sounds
+// TODO: N950 conf
 
 CameraPage {
     id: root
 
     property bool deviceChangeInProgress: false
     property bool inCaptureMode: mainView.currentIndex == 1
+    property Item dimmer: camDimmer
 
     CameraTheme {
         id: cameraTheme
@@ -150,8 +153,6 @@ CameraPage {
         error.show()
     }
 
-    property alias dimmer: camDimmer
-
     PlatformQuirks {
         id: platformQuirks
     }