From 419c788ab568ae0a7c7092a285030a9f6747d8b4 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 30 Apr 2024 21:42:38 -0500 Subject: [PATCH] Remove save() call that is no longer necessary since d1ccd19 --- app/gui/SettingsView.qml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/app/gui/SettingsView.qml b/app/gui/SettingsView.qml index ce0ec355..5323febb 100644 --- a/app/gui/SettingsView.qml +++ b/app/gui/SettingsView.qml @@ -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