Revert "Implemented per device resolution setting and selection"
[harmattan/cameraplus] / qml / VideoResolutionSettings.qml
index aa89d10..c105c55 100644 (file)
@@ -28,9 +28,6 @@ Column {
 
     spacing: 10
 
-    property string __resolution: settings.device == 1 ?
-        settings.secondaryVideoResolution : settings.primaryVideoResolution
-
     visible: videoSettings.resolutions.count > 1
 
     SectionHeader {
@@ -50,14 +47,8 @@ Column {
             delegate: CameraButton {
                 capitalize: true
                 text: qsTr("%1 %2").arg(resolutionName).arg(resolution)
-                checked: __resolution == resolutionName
-                onClicked: {
-                    if (settings.device == 1) {
-                        settings.secondaryVideoResolution = resolutionName
-                    } else {
-                        settings.primaryVideoResolution = resolutionName
-                    }
-                }
+                checked: settings.videoResolution == resolutionName
+                onClicked: settings.videoResolution = resolutionName
             }
         }
     }