diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-05-05 14:48:21 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-05-05 15:05:37 (GMT) |
commit | a2f797b52c4274a62a7cf1f0939aca1429afe211 (patch) | |
tree | 38b2d4c67f982071e36588f3092d5415addaf721 /tests/auto/linguist | |
parent | e41217d6d2e592e79a9a8a83c9e49491d66ad18e (diff) | |
download | Qt-a2f797b52c4274a62a7cf1f0939aca1429afe211.zip Qt-a2f797b52c4274a62a7cf1f0939aca1429afe211.tar.gz Qt-a2f797b52c4274a62a7cf1f0939aca1429afe211.tar.bz2 |
Improve QUrl handling of local file paths
Add QUrl::isLocalFile for a faster and more consistent checking of
whether the URL is local or not.
Improve the documentation to indicate that QUrl always treats SMB-like
file paths as local, even if the system cannot open them
(non-Windows).
Add a test to ensure that "FILE:/a.txt" is considered local too (RFC
3986 requires schemes to be interpreted in case-insensitive fashion).
Remove broken code that supported empty schemes as local file paths.
Reviewed-by: Markus Goetz
Diffstat (limited to 'tests/auto/linguist')
0 files changed, 0 insertions, 0 deletions