Skip to content

[KFilePlacesView] Show inline eject button only for removable drives

Otherwise it clutters a list of internal drives that are never meant to be unmounted, and potentially not even allowed to be, with eject icons.

Storage without a drive (e.g. a mounted ISO image) keeps its eject inline button, too.

Triggering an unmount from the contextmenu remains possible (except for Root and Home, as before).

BUG: 453890


  • My USB stick still has an eject button
  • A mounted ISO from my downloads folder still has an eject button
  • That drive I put in fstab no longer has it
  • did not test with CD drives or NFS mounts in fstab, maybe the latter still needs some work
Edited by Kai Uwe Broulik

Merge request reports

Loading