Fixed regression?

This commit is contained in:
armored-dragon 2024-11-23 09:27:35 -06:00
parent 096a1d5006
commit 2fd7c44ac6
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -144,12 +144,8 @@ Rectangle {
// FPS
SettingComboBox {
settingText: "Refresh rate";
optionIndex: Performance.getPerformancePreset() - 1;
options: ["Economical", "Interactive", "Real-Time", "Custom"];
Component.onCompleted: {
optionIndex = Performance.getRefreshRateProfile()
}
optionIndex: Performance.getRefreshRateProfile();
onValueChanged: {
Performance.setRefreshRateProfile(index);