D23654: Fix places text when the URL has a trailing slash
Elvis Angelaccio
noreply at phabricator.kde.org
Sun Sep 1 21:35:01 BST 2019
elvisangelaccio created this revision.
elvisangelaccio added a reviewer: ngraham.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
elvisangelaccio requested review of this revision.
REVISION SUMMARY
QUrl::fileName() returns an empty string if the URL ends with a slash.
TEST PLAN
1. Run `dolphin /tmp` from command line
2. Right-click from viewport and click 'Add to Places'
REPOSITORY
R318 Dolphin
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D23654
AFFECTED FILES
src/dolphinviewcontainer.cpp
To: elvisangelaccio, ngraham
Cc: kfm-devel, fprice, MrPepe, fbampaloukas, alexde, Codezela, feverfew, meven, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190901/23760a12/attachment.htm>
More information about the kfm-devel
mailing list