D8643: Fix display of remote:/ in the qfiledialog

Aleix Pol Gonzalez noreply at phabricator.kde.org
Fri Nov 3 16:54:57 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171103/dd4be986/attachment.html>


More information about the Kde-frameworks-devel mailing list