Fixes for changing video resolution between 16:9 and 4:3
[harmattan/cameraplus] / qml / VideoResolutionSettings.qml
index 432bd61..d6323c5 100644 (file)
@@ -34,11 +34,10 @@ Column {
         text: qsTr("Resolution")
     }
 
-    CameraButtonRow {
+    Row {
         id: resoultionsRow
         width: parent.width
         enabled: camera ? camera.idle : false
-        exclusive: false
 
         Repeater {
             id: resolutions
@@ -50,7 +49,10 @@ Column {
                 capitalize: true
                 text: qsTr("%1 %2").arg(resolutionName).arg(resolution)
                 checked: settings.videoResolution == resolutionName
-                onClicked: settings.videoResolution = resolutionName
+                onClicked: {
+                    settings.videoAspectRatio = resolutionAspectRatio
+                    settings.videoResolution = resolutionName
+                }
             }
         }
     }