D26881: [Applets/Folder View] Allow using a folder that ends with a space
Nathaniel Graham
noreply at phabricator.kde.org
Thu Jan 23 17:54:37 GMT 2020
ngraham created this revision.
ngraham added reviewers: hein, Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
ngraham requested review of this revision.
REVISION SUMMARY
`QUrl::fromLocalFile` is otherwise appropriate but automatically strips a trailing space,
which we don't want. This patch explicitly handles that case.
CCBUG: 407671
TEST PLAN
Configure Folder View applet
Enter a valid path to a folder whose name ends with a space
It works
REPOSITORY
R119 Plasma Desktop
BRANCH
allow-adding-folders-that-end-with-a-space (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D26881
AFFECTED FILES
containments/desktop/plugins/folder/foldermodel.cpp
To: ngraham, hein, #plasma
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200123/cd566fda/attachment.html>
More information about the Plasma-devel
mailing list