D7155: Implement sorting of the device tree items

Isaac True noreply at phabricator.kde.org
Sat Aug 5 18:03:30 UTC 2017


isaact created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  This patch attempts to fix the following bug in KInfoCenter: https://bugs.kde.org/show_bug.cgi?id=380355 (Bug 380355 - Processors numbers listed are machine-sorted, not human-sorted in Device Viewer).
  
  It overloads the < operator on the SolDevice class to implement sorting by process number and sorting by storage volume names (as they should go, e.g.: sda, sda1, sda2...).

REPOSITORY
  R102 KInfoCenter

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

AFFECTED FILES
  Modules/devinfo/devicelisting.cpp
  Modules/devinfo/soldevice.cpp
  Modules/devinfo/soldevice.h

To: isaact
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170805/8997685d/attachment-0001.html>


More information about the Plasma-devel mailing list