mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-01-09 01:38:44 +00:00
Remove save() call that is no longer necessary since d1ccd19
This commit is contained in:
parent
a412100a11
commit
419c788ab5
1 changed files with 1 additions and 9 deletions
|
@ -1640,15 +1640,7 @@ Flickable {
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
checked: StreamingPreferences.showPerformanceOverlay
|
checked: StreamingPreferences.showPerformanceOverlay
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
// This is called on init, so only do the work if we've
|
|
||||||
// actually changed the value.
|
|
||||||
if (StreamingPreferences.showPerformanceOverlay != checked) {
|
|
||||||
StreamingPreferences.showPerformanceOverlay = checked
|
StreamingPreferences.showPerformanceOverlay = checked
|
||||||
|
|
||||||
// We must save the updated preference to ensure
|
|
||||||
// ComputerManager can observe the change internally.
|
|
||||||
StreamingPreferences.save()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ToolTip.delay: 1000
|
ToolTip.delay: 1000
|
||||||
|
|
Loading…
Reference in a new issue