From c56672dd04c8bfc56f787af292a9a6608339320d Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Sat, 1 Dec 2018 19:24:36 +0100 Subject: [PATCH] Remove useless frame settings. --- app/qml/SettingsPerformanceTab.qml | 9 --------- app/qml/SettingsScreenTab.qml | 27 --------------------------- 2 files changed, 36 deletions(-) diff --git a/app/qml/SettingsPerformanceTab.qml b/app/qml/SettingsPerformanceTab.qml index 5dfd4c3..0044574 100644 --- a/app/qml/SettingsPerformanceTab.qml +++ b/app/qml/SettingsPerformanceTab.qml @@ -114,14 +114,5 @@ Tab{ SizedLabel{text: Math.round(burnInSlider.value * 100) + "%"} } } - GroupBox{ - title: qsTr("Frame") - Layout.fillWidth: true - CheckBox{ - checked: appSettings._frameReflections - text: qsTr("Frame Reflections") - onCheckedChanged: appSettings._frameReflections = checked - } - } } } diff --git a/app/qml/SettingsScreenTab.qml b/app/qml/SettingsScreenTab.qml index 5777e65..683f09e 100644 --- a/app/qml/SettingsScreenTab.qml +++ b/app/qml/SettingsScreenTab.qml @@ -63,32 +63,5 @@ Tab{ } } } - GroupBox{ - title: qsTr("Frame") - Layout.fillWidth: true - RowLayout{ - anchors.fill: parent - ComboBox{ - id: framescombobox - Layout.fillWidth: true - model: appSettings.framesList - currentIndex: appSettings.framesIndex - onActivated: { - appSettings.frameName = appSettings.framesList.get(index).name; - } - function updateIndex(){ - var name = appSettings.frameName; - var index = appSettings.getFrameIndexByName(name); - if (index !== undefined) - currentIndex = index; - } - Component.onCompleted: updateIndex(); - Connections { - target: appSettings - onFrameNameChanged: framescombobox.updateIndex(); - } - } - } - } } }