From 24c90dae11c5b64345db6b797f99d6d730a21fb1 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 15:49:45 +0200 Subject: [PATCH] fix power profile jittery --- modules/PowerProfile.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/PowerProfile.qml b/modules/PowerProfile.qml index 236437a..904492f 100644 --- a/modules/PowerProfile.qml +++ b/modules/PowerProfile.qml @@ -51,9 +51,7 @@ M.BarIcon { onClicked: { const cycle = ["performance", "balanced", "power-saver"]; const idx = cycle.indexOf(root.profile); - const next = cycle[(idx + 1) % cycle.length]; - root.profile = next; - setter.next = next; + setter.next = cycle[(idx + 1) % cycle.length]; setter.running = true; } }