Review Request 123818: soliddevice: Use KDiskFreeSpaceInfo instead of solid to get disk size

Mark Gaiser markg85 at gmail.com
Sat May 16 18:03:36 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123818/#review80471
-----------------------------------------------------------


Why the C-Sytle casts? (qulonglong)..
If you use casts, use the C++ style casts.

- Mark Gaiser


On mei 16, 2015, 5:43 p.m., Yoann Laissus wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123818/
> -----------------------------------------------------------
> 
> (Updated mei 16, 2015, 5:43 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> 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.
> 
> 
> Diffs
> -----
> 
>   applets/devicenotifier/package/contents/ui/FullRepresentation.qml 0a5b035d1afac368faf85f6dd0ff41bab4812562 
>   dataengines/soliddevice/soliddeviceengine.h 85bdc68d4d7a9a8704d8ff1dcd29355c784ed435 
>   dataengines/soliddevice/soliddeviceengine.cpp 94819c7405a3eb4b0ef679a55de2de20bd05fdb2 
> 
> Diff: https://git.reviewboard.kde.org/r/123818/diff/
> 
> 
> Testing
> -------
> 
> Tested with local disks, USB devices, NFS shares
> 
> 
> Thanks,
> 
> Yoann Laissus
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150516/81de5a69/attachment.html>


More information about the Plasma-devel mailing list