D21164: Replace QUrl::fromUserInput by lighter heuristic

Kai Uwe Broulik noreply at phabricator.kde.org
Mon May 13 06:58:41 BST 2019


broulik added a comment.


  In D21164#464287 <https://phabricator.kde.org/D21164#464287>, @apol wrote:
  
  > https://doc.qt.io/qt-5/qurl.html#UrlFormattingOption-enum
  >
  > How about using QUrl::toDisplayString(QUrl::PreferLocalFile)?
  
  
  That won't make a difference as it always creates a `QFileInfo`: https://code.woboq.org/qt5/qtbase/src/corelib/io/qurl.cpp.html#_ZN4QUrl13fromUserInputERK7QStringS2_6QFlagsINS_25UserInputResolutionOptionEE

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D21164

To: broulik, #plasma
Cc: apol, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190513/094bb9c6/attachment.html>


More information about the Plasma-devel mailing list