mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-01-07 08:48:45 +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
|
||||
checked: StreamingPreferences.showPerformanceOverlay
|
||||
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
|
||||
|
||||
// We must save the updated preference to ensure
|
||||
// ComputerManager can observe the change internally.
|
||||
StreamingPreferences.save()
|
||||
}
|
||||
StreamingPreferences.showPerformanceOverlay = checked
|
||||
}
|
||||
|
||||
ToolTip.delay: 1000
|
||||
|
|
Loading…
Reference in a new issue