[UDisks 2 Device] Add description for Floppy Disk

Authored by broulik on Feb 11 2017, 3:15 PM.



Ensures a floppy disk shows up as "Floppy Disk" instead of "0 Byte Removable Media"

Test Plan

Never actually reports any size so I didn't bother with the size thing and the code around is wrong anyway, it's like
if (!sizeString.isEmpty()) but formatSize always returns something, even if it is 0 B



Diff Detail

R245 Solid
Lint Skipped
Unit Tests Skipped
broulik updated this revision to Diff 11225.Feb 11 2017, 3:15 PM
broulik retitled this revision from to [UDisks 2 Device] Add description for Floppy Disk.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added reviewers: Plasma, jriddell.
broulik set the repository for this revision to R245 Solid.
Restricted Application added projects: Plasma, Frameworks. · View Herald TranscriptFeb 11 2017, 3:15 PM
Restricted Application added subscribers: Frameworks, plasma-devel. · View Herald Transcript
broulik edited the test plan for this revision. (Show Details)Feb 11 2017, 3:18 PM
jriddell accepted this revision.Feb 11 2017, 3:31 PM
jriddell edited edge metadata.

Genius, this solves the final problem in KDE and will be a killer feature in the next Frameworks release

This revision is now accepted and ready to land.Feb 11 2017, 3:31 PM
This revision was automatically updated to reflect the committed changes.