As suggested by https://phabricator.kde.org/D23152#inline-132069
Details
Details
Diff Detail
Diff Detail
- Repository
- R102 KInfoCenter
- Branch
- arcpatch-D23391
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 15886 Build 15904: arc lint + arc unit
Comment Actions
Lovely!
Modules/energy/package/contents/ui/main.qml | ||
---|---|---|
97 ↗ | (On Diff #64457) | You could probably move that into a function initCurrent() or similar and call it in both this and the change handler You can also probably cache the index in a variable to only query it once |
Comment Actions
Add a function initCurrentBattery to initialize currentBattery property and associated ones