Remove useless frame settings.

This commit is contained in:
Filippo Scognamiglio 2018-12-01 19:24:36 +01:00
parent c2dc1cd65f
commit c56672dd04
2 changed files with 0 additions and 36 deletions

View File

@ -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
}
}
}
}

View File

@ -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();
}
}
}
}
}
}