Don't strip the leading slash of letter+colon paths on Unix
authorThiago Macieira <thiago.macieira@intel.com>
Mon, 23 Apr 2012 15:02:17 +0000 (17:02 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Apr 2012 17:36:55 +0000 (19:36 +0200)
commitfd7e1cef9cc06a2e36d98942c6e929ee5589952e
treec08811ec7cab66920b413e81f0836928f795e28d
parent1eebbacb86ffb6e8cb291e316d4133320b459e42
Don't strip the leading slash of letter+colon paths on Unix

It's perfectly valid to have a path of /c:/a.txt on Unix, so don't
strip the leading slash unless we're on Windows.

Task-number: QTBUG-20322
Change-Id: I721bd0a65b41048bc735d4eaa0d536174164fe64
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/corelib/io/qurl.cpp
tests/auto/corelib/io/qurl/tst_qurl.cpp