D24379: [energy kcm] Fix Technology values

David Edmundson noreply at phabricator.kde.org
Thu Oct 3 13:01:02 BST 2019


davidedmundson added a comment.


  This is already available and translated in solid.
  
  solid/src/solid/devices/backends/upower/upowerdevice.cpp
  142:        return tr("Lithium Ion", "battery technology");
  
  Can't we expose that instead of duplicating things in QML. Especially with horrific magic numbers instead of enums.

REPOSITORY
  R102 KInfoCenter

REVISION DETAIL
  https://phabricator.kde.org/D24379

To: meven, ngraham, ltoscano
Cc: davidedmundson, alexde, plasma-devel, ltoscano, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191003/187d2bf8/attachment-0001.html>


More information about the Plasma-devel mailing list