D15989: Do not offer to unmount / or /home

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sun Oct 7 15:11:07 BST 2018


bruns added inline comments.

INLINE COMMENTS

> placespanel.cpp:185
>              teardownAction->setParent(&menu);
> +            if (item->url() == QUrl::fromLocalFile(QDir::rootPath()) || item->url() == QUrl::fromLocalFile("/home")) {
> +                teardownAction->setEnabled(false);

We should not hardcode "/home" here, but derive it from the user home directory.

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D15989

To: thsurrel, #dolphin, #vdg, elvisangelaccio
Cc: elvisangelaccio, ngraham, broulik, bruns, kfm-devel, feverfew, spoorun, navarromorales, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20181007/17f7d9af/attachment.htm>


More information about the kfm-devel mailing list