No need for the when condition for binding camera zoom value to slider value
[harmattan/cameraplus] / qml / VideoResolutionSettings.qml
index 26d4eac..c105c55 100644 (file)
@@ -28,6 +28,8 @@ Column {
 
     spacing: 10
 
+    visible: videoSettings.resolutions.count > 1
+
     SectionHeader {
         text: qsTr("Resolution")
     }
@@ -43,7 +45,7 @@ Column {
             model: videoSettings.resolutions
 
             delegate: CameraButton {
-                font.capitalization: Font.Capitalize
+                capitalize: true
                 text: qsTr("%1 %2").arg(resolutionName).arg(resolution)
                 checked: settings.videoResolution == resolutionName
                 onClicked: settings.videoResolution = resolutionName