apol created this revision. apol added a reviewer: Frameworks. Restricted Application added a project: Frameworks.
REVISION SUMMARY remote: is designed to redirect every entry so it has an entry that initially is defined as "remote:/network" then it changes to "network:/" through setUrl which currently is passing QUrl().fileName() which is empty for network:, smb: or mtp:. This patch changes it so at least the displayed text isn't overriden if it was coming from the UDS_DISPLAY_NAME entry in the UDS tuple we received. TEST PLAN This behavior can be tested and confirmed using the qfiledialogtest in plasma-integration/tests. REPOSITORY R241 KIO BRANCH master REVISION DETAIL https://phabricator.kde.org/D8643 AFFECTED FILES src/core/kfileitem.cpp To: apol, #frameworks