Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0, 4.7.1, 4.7.2, 4.7.3, 4.8.0
-
None
-
fd7e1cef9cc06a2e36d98942c6e929ee5589952e
Description
The code in QUrl::toLocalFile that takes care to make sure file drives on Windows are returned without the leading slash needs to be ifdef'ed so that it only applies on Windows. Otherwise, "file:///F:/" on Unix-like platforms will return "F:/" instead of "/F:/". This causes bugs like the one reported downstream: