D9610: Revive folderpanel when outside $HOME

Anthony Fieroni noreply at phabricator.kde.org
Tue Jan 2 19:37:28 GMT 2018


anthonyfieroni added inline comments.

INLINE COMMENTS

> michaelh wrote in kfileitemmodel.cpp:651
> At this point is there still a possibility that
> 
>   urlToExpand.path()
> 
> ends with a slash? Under what conditions?
> I was wondering why the url is split with QDir::separator but joined again with '/'. 
> And now it's QLatin1Char('/'). Why is that?

It's not possible to ends with '/' at that point but i'm searching for solution without setting empty paths

  urlToExpand.setPath(path.left(pos - 1));

will set path to empty string.

REPOSITORY
  R318 Dolphin

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

To: michaelh, #dolphin
Cc: elvisangelaccio, ngraham, anthonyfieroni, michaelh, spoorun, navarromorales, isidorov, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180102/cd0c4760/attachment.htm>


More information about the kfm-devel mailing list