https://bugs.kde.org/show_bug.cgi?id=440310
Arjen Hiemstra <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|CONFIRMED |RESOLVED Latest Commit| |https://invent.kde.org/plas | |ma/libksysguard/commit/debc | |b7ce19068fb5798c343d3bd572e | |aef4de0a7 --- Comment #4 from Arjen Hiemstra <[email protected]> --- Git commit debcb7ce19068fb5798c343d3bd572eaef4de0a7 by Arjen Hiemstra. Committed on 13/06/2022 at 14:49. Pushed by ahiemstra into branch 'master'. Sensors: Port SensorTreeModel to std::map so we can use a custom compare Currently, the tree ends up being sorted with numbers sorted as characters. Since the sorting happens in the map, if we want to sort things differently we need to override the sorting function. QMap does not support that so use std::map instead with a custom compare object. M +56 -21 sensors/SensorTreeModel.cpp https://invent.kde.org/plasma/libksysguard/commit/debcb7ce19068fb5798c343d3bd572eaef4de0a7 -- You are receiving this mail because: You are watching all bug changes.
