mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 02:30:52 +00:00
Remove save() call that is no longer necessary since d1ccd19
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user