[Digikam-devel] [Bug 175925] USB Storage size (and Local disk) are wrong

Gilles Caulier caulier.gilles at gmail.com
Tue Dec 9 08:48:16 GMT 2008


http://bugs.kde.org/show_bug.cgi?id=175925





--- Comment #13 from Gilles Caulier <caulier gilles gmail com>  2008-12-09 09:48:07 ---
To Marcel #9,

Definitively yes... We use KDiskFreeSpace to scan media information. Values are
returned by this method :

http://api.kde.org/4.x-api/kdelibs-apidocs/kio/html/classKDiskFreeSpace.html#a600e0b7c5a3c5dfe8af4f3f8df94e9d

Which return sizes in KibiByte (http://en.wikipedia.org/wiki/Kibibyte)

After, value are displayed using KIO::convertSizeFromKiB :

http://api.kde.org/4.x-api/kdelibs-apidocs/kio/html/namespaceKIO.html#5f45b12d68e8c5c62646ed6f239909c8

So, I don't understand where is the problem. Sound like a KDE API problem ?

Gilles


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list