auroraa03ac88
aurora: remove power profile since its unused
+35 −35
2 files changed
| @@ -99,39 +99,39 @@ Flickable { | |||
| 99 | 99 | } | |
| 100 | 100 | } | |
| 101 | 101 | ||
| 102 | − | ColumnLayout { | |
| 103 | − | visible: PowerProfiles.hasPerformanceProfile !== undefined | |
| 104 | − | Layout.fillWidth: true | |
| 105 | − | Layout.topMargin: 6 | |
| 106 | − | spacing: 8 | |
| 107 | − | SectionLabel { text: "power profile" } | |
| 108 | − | RowLayout { | |
| 109 | − | Layout.fillWidth: true | |
| 110 | − | spacing: 6 | |
| 111 | − | IconBtn { | |
| 112 | − | Layout.fillWidth: true | |
| 113 | − | icon: Theme.iLeaf | |
| 114 | − | label: "saver" | |
| 115 | − | active: PowerProfiles.profile === PowerProfile.PowerSaver | |
| 116 | − | onClicked: PowerProfiles.profile = PowerProfile.PowerSaver | |
| 117 | − | } | |
| 118 | − | IconBtn { | |
| 119 | − | Layout.fillWidth: true | |
| 120 | − | icon: Theme.iBalance | |
| 121 | − | label: "balanced" | |
| 122 | − | active: PowerProfiles.profile === PowerProfile.Balanced | |
| 123 | − | onClicked: PowerProfiles.profile = PowerProfile.Balanced | |
| 124 | − | } | |
| 125 | − | IconBtn { | |
| 126 | − | Layout.fillWidth: true | |
| 127 | − | visible: PowerProfiles.hasPerformanceProfile | |
| 128 | − | icon: Theme.iSpeed | |
| 129 | − | label: "perf" | |
| 130 | − | active: PowerProfiles.profile === PowerProfile.Performance | |
| 131 | − | onClicked: PowerProfiles.profile = PowerProfile.Performance | |
| 132 | − | } | |
| 133 | − | } | |
| 134 | − | } | |
| 102 | + | // ColumnLayout { | |
| 103 | + | // visible: PowerProfiles.hasPerformanceProfile !== undefined | |
| 104 | + | // Layout.fillWidth: true | |
| 105 | + | // Layout.topMargin: 6 | |
| 106 | + | // spacing: 8 | |
| 107 | + | // SectionLabel { text: "power profile" } | |
| 108 | + | // RowLayout { | |
| 109 | + | // Layout.fillWidth: true | |
| 110 | + | // spacing: 6 | |
| 111 | + | // IconBtn { | |
| 112 | + | // Layout.fillWidth: true | |
| 113 | + | // icon: Theme.iLeaf | |
| 114 | + | // label: "saver" | |
| 115 | + | // active: PowerProfiles.profile === PowerProfile.PowerSaver | |
| 116 | + | // onClicked: PowerProfiles.profile = PowerProfile.PowerSaver | |
| 117 | + | // } | |
| 118 | + | // IconBtn { | |
| 119 | + | // Layout.fillWidth: true | |
| 120 | + | // icon: Theme.iBalance | |
| 121 | + | // label: "balanced" | |
| 122 | + | // active: PowerProfiles.profile === PowerProfile.Balanced | |
| 123 | + | // onClicked: PowerProfiles.profile = PowerProfile.Balanced | |
| 124 | + | // } | |
| 125 | + | // IconBtn { | |
| 126 | + | // Layout.fillWidth: true | |
| 127 | + | // visible: PowerProfiles.hasPerformanceProfile | |
| 128 | + | // icon: Theme.iSpeed | |
| 129 | + | // label: "perf" | |
| 130 | + | // active: PowerProfiles.profile === PowerProfile.Performance | |
| 131 | + | // onClicked: PowerProfiles.profile = PowerProfile.Performance | |
| 132 | + | // } | |
| 133 | + | // } | |
| 134 | + | // } | |
| 135 | 135 | ||
| 136 | 136 | ColumnLayout { | |
| 137 | 137 | visible: Gpu.mode !== "" | |
| @@ -31,7 +31,7 @@ Row { | |||
| 31 | 31 | readonly property bool urgent: obj !== null && obj.urgent | |
| 32 | 32 | readonly property bool lit: active || m.containsMouse | |
| 33 | 33 | ||
| 34 | − | width: 30 | |
| 34 | + | width: 32 | |
| 35 | 35 | height: ws.height | |
| 36 | 36 | ||
| 37 | 37 | Rectangle { | |
| @@ -52,7 +52,7 @@ Row { | |||
| 52 | 52 | color: b.lit ? Theme.bg : (b.urgent ? Theme.err : Theme.fg) | |
| 53 | 53 | opacity: (b.occupied || b.lit || b.urgent) ? 1 : 0.4 | |
| 54 | 54 | font.family: Theme.font | |
| 55 | − | font.pixelSize: Theme.fontSize + 1 | |
| 55 | + | font.pixelSize: Theme.fontSize | |
| 56 | 56 | } | |
| 57 | 57 | MouseArea { | |
| 58 | 58 | id: m | |