D12490: concatPaths: process empty path1 correctly
Алексей Шилин
noreply at phabricator.kde.org
Tue Apr 24 09:19:44 UTC 2018
aleksejshilin created this revision.
aleksejshilin added a reviewer: Frameworks.
Restricted Application added a project: Frameworks.
aleksejshilin requested review of this revision.
REVISION SUMMARY
When path1 was empty (i.e. 'current directory'), concatPaths() used to
return an absolute path /path2 instead of just path2, which broke e.g.
KUrlCompletion in certain cases.
This commit makes concatPaths() return just path2 if path1 is empty.
REPOSITORY
R241 KIO
BRANCH
fix_concatPaths
REVISION DETAIL
https://phabricator.kde.org/D12490
AFFECTED FILES
src/pathhelpers_p.h
To: aleksejshilin, #frameworks
Cc: michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180424/623824a6/attachment.html>
More information about the Kde-frameworks-devel
mailing list