soliddevice: Use KDiskFreeSpaceInfo instead of solid to get disk size

Review Request #123818 - Created May 16, 2015 and submitted

Information
Yoann Laissus
plasma-workspace
e800204...
Reviewers
plasma

Currently, the size of devices is retrieved with solid.
Unfortunately, it doesn't work for network shares. Only the "StorageVolume" type has the "size" option.

KDiskFreeSpaceInfo supports every mounted device, not matter its type.

Tested with local disks, USB devices, NFS shares

Mark Gaiser
Yoann Laissus
Kai Uwe Broulik
David Edmundson
Yoann Laissus
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 9b474a4ab01c3268048e29c336cf7b3fe9a83a47 by Yoann Laissus to branch master.
Loading...