Make dimmer a property instead of aliasing it
authorMohammed Sameer <msameer@foolab.org>
Wed, 11 Sep 2013 23:52:30 +0000 (02:52 +0300)
committerMohammed Sameer <msameer@foolab.org>
Wed, 11 Sep 2013 23:52:30 +0000 (02:52 +0300)
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
     }