mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 06:30:55 +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
|
font.pointSize: 12
|
||||||
checked: StreamingPreferences.showPerformanceOverlay
|
checked: StreamingPreferences.showPerformanceOverlay
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
// This is called on init, so only do the work if we've
|
StreamingPreferences.showPerformanceOverlay = checked
|
||||||
// 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()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ToolTip.delay: 1000
|
ToolTip.delay: 1000
|
||||||
|
|||||||
Reference in New Issue
Block a user