Settings Tab: replaced Tab IDs by a QML enum
This commit is contained in:
parent
71433c7807
commit
2a7810c17c
9 changed files with 36 additions and 42 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue