kpmcore/src
Valerii Malov 9565ef61ab Add support for smartmontools 7.0 user_capacity json output
Summary:
smartmontools 7.0 reports user capacity as an object that contains bytes and blocks value, instead of being an int that just contains bytes
This should fix incorrect calculation of bad blocks threshold and incorrect display of "Overall" status

Test Plan:
run partitionmanager on a system that has smartmontools 7, open smart status
overall status should be reported correctly

Reviewers: stikonas

Reviewed By: stikonas

Differential Revision: https://phabricator.kde.org/D21311
2019-05-23 17:43:44 +03:00
..
backend Add scanDevices function that uses flags instead of bools. 2019-02-09 15:40:06 +00:00
core Add support for smartmontools 7.0 user_capacity json output 2019-05-23 17:43:44 +03:00
fs Remove unused include. 2019-04-06 17:36:25 +01:00
gui Mark override members as such 2019-02-16 00:17:48 +01:00
jobs Simplify return value logic. 2018-10-21 23:59:39 +01:00
ops Fix setting partition path when restoring partitions. 2019-05-10 02:12:07 +01:00
plugins Fixing device scanning process 2019-04-03 15:37:47 -06:00
util Don't hardcode dbus policy install dir 2019-05-12 22:32:58 +02:00
CMakeLists.txt Use KF5::AuthCore instead of KF5::Auth 2019-02-16 00:25:37 +01:00
Messages.sh Remove kcfg and kcfgc files. 2015-07-21 12:44:40 +02:00