Instead of showing generic "Loop Device" for everything, use the backing file's file name and mime type icon.
Details
Details
- Reviewers
davidedmundson bshah - Group Reviewers
VDG - Commits
- R245:3e9c2791fd3f: [UDisks Device] Show loop device with their backing file name and icon
Mounted a random iso file, showed up with file name and ISO icon in Dolphin sidebar.
Before
After
(This is also in preparation for getting rid of those useless "Loop Devices" in the first place)
Diff Detail
Diff Detail
- Repository
- R245 Solid
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/solid/devices/backends/udisks2/udisksdevice.cpp | ||
---|---|---|
614 ↗ | (On Diff #25407) | return QStringLiteral("drive-harddisk"); |