On Wednesday 13 August 2014 07:57:55 Thiago Macieira wrote: > 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" ?
With QUrl::fromUserInput("C:/tmp") we get the exact same results. I guess I should just file a bug then... Greets -- Kevin Funk | kf...@kde.org | http://kfunk.org _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development