On Wednesday 13 August 2014 14:14:38 Kevin Funk wrote:
> Hey,
> 
> while porting to Qt5/KF5, we've found some issues with the new
> QUrl::toDisplayString method on Windows.
> 
> Running the attached test-case [1], we get the following results
> with Qt5 dev branch on Windows:
> 
>   path "/C:/tmp"
>   toLocalFile "C:/tmp"
>   toDisplayString "file:///C:/tmp"
>   toDisplayString(QUrl::PreferLocalFile) "/C:/tmp"
> 
> I'm especially puzzled by the latter one
> (toDisplayString(QUrl::PreferLocalFile)), which is supposed to return a
> "human-readable" string for the given url.
> That should return "C:/tmp", right?

It should be.

Does fromUserInput("C:/tmp") return "file:///C:/tmp" ?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to