Icons: huge cleanup
This commit is contained in:
parent
ccdb4e0664
commit
1f8c55d581
53 changed files with 155 additions and 174 deletions
|
|
@ -19,13 +19,13 @@ NIconButton {
|
|||
|
||||
function profileIcon() {
|
||||
if (!hasPP)
|
||||
return Bootstrap.icons["yin-yang"]
|
||||
return "yin-yang"
|
||||
if (powerProfiles.profile === PowerProfile.Performance)
|
||||
return Bootstrap.icons["speedometer2"]
|
||||
return "speedometer2"
|
||||
if (powerProfiles.profile === PowerProfile.Balanced)
|
||||
return Bootstrap.icons["yin-yang"]
|
||||
return "yin-yang"
|
||||
if (powerProfiles.profile === PowerProfile.PowerSaver)
|
||||
return Bootstrap.icons["leaf"]
|
||||
return "leaf"
|
||||
}
|
||||
|
||||
function profileName() {
|
||||
|
|
@ -57,4 +57,4 @@ NIconButton {
|
|||
colorBorder: Color.transparent
|
||||
colorBorderHover: Color.transparent
|
||||
onClicked: root.changeProfile()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue