mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 01:00:44 +02:00
Fixed regression?
This commit is contained in:
parent
096a1d5006
commit
2fd7c44ac6
1 changed files with 1 additions and 5 deletions
|
@ -144,12 +144,8 @@ Rectangle {
|
||||||
// FPS
|
// FPS
|
||||||
SettingComboBox {
|
SettingComboBox {
|
||||||
settingText: "Refresh rate";
|
settingText: "Refresh rate";
|
||||||
optionIndex: Performance.getPerformancePreset() - 1;
|
|
||||||
options: ["Economical", "Interactive", "Real-Time", "Custom"];
|
options: ["Economical", "Interactive", "Real-Time", "Custom"];
|
||||||
|
optionIndex: Performance.getRefreshRateProfile();
|
||||||
Component.onCompleted: {
|
|
||||||
optionIndex = Performance.getRefreshRateProfile()
|
|
||||||
}
|
|
||||||
|
|
||||||
onValueChanged: {
|
onValueChanged: {
|
||||||
Performance.setRefreshRateProfile(index);
|
Performance.setRefreshRateProfile(index);
|
||||||
|
|
Loading…
Reference in a new issue