[Development] Intended QUrl::toDisplayString behavior on Windows

2014-08-13 Thread Kevin Funk
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

Re: [Development] Intended QUrl::toDisplayString behavior on Windows

2014-08-13 Thread Thiago Macieira
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

Re: [Development] Intended QUrl::toDisplayString behavior on Windows

2014-08-13 Thread Kevin Funk
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

Re: [Development] Intended QUrl::toDisplayString behavior on Windows

2014-08-13 Thread Thiago Macieira
On Wednesday 13 August 2014 18:07:53 Kevin Funk wrote: 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... It would be easier if you submitted the fix. QUrl::fromUserInput and