Settings Tab: replaced Tab IDs by a QML enum

This commit is contained in:
quadbyte 2025-08-14 07:42:03 -04:00
parent 71433c7807
commit 2a7810c17c
9 changed files with 36 additions and 42 deletions

View file

@ -42,7 +42,7 @@ NBox {
icon: "balance"
enabled: hasPP
opacity: enabled ? Style.opacityFull : Style.opacityMedium
showFilled: enabled && powerProfiles.profile === PowerProfile.Balanced
showFilled: enabled && powerProfiles.profile === PowerProfile.Balanced
showBorder: !enabled || powerProfiles.profile !== PowerProfile.Balanced
onClicked: {
if (enabled) {