Diffusion KIO 1cea9463f471

Make it possible to go up to root again

Authored by jtamate on Jun 24 2018, 4:52 PM.

Description

Make it possible to go up to root again

Summary:
If u == "file:///", then u.setPath(u.path() + '/') results in u == "".
Avoid making this transformation for all schemes (thanks @dfaure).

Test Plan:
In a File open dialog, go to a nfts disk root, that results in currentUrl = file:///d//
Before, when I pressed the upCd dir (^) I was redirected to my home directory, after I see the root directory.

Reviewers: dfaure, Frameworks

Reviewed By: dfaure

Subscribers: aacid, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D13674

Details

Committed
jtamateJun 24 2018, 4:53 PM
Reviewer
dfaure
Differential Revision
D13674: Make it possible to go up to root again
Parents
R241:4c47f6127462: [Properties dialog] Improve some permissions-related strings
Branches
Unknown
Tags
Unknown