summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/CMakeLists.txt
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2021-05-18 23:14:25 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-05-19 22:05:06 +0000
commit1ee5a85843bf3c6de08185c92fd3eb605d8c328c (patch)
tree5c387cb3abfa91e682261800cbddef0d37c5111b /tests/auto/corelib/CMakeLists.txt
parent2d84d8a2d1973f926625a4ba6b2f3dadf58bd630 (diff)
Fix QUrl::fromLocalFile with long path prefix
After commit 3966b571 the function was kinda broken already, though this got unnoticed since it was not covered by an the auto-test. This commit adds another test case with Windows native separators and removes the use of QDir::fromNativeSeparators. Instead use the original code from QDir::fromNativeSeparators to replace the backslashes. Change-Id: I190560d0e75cb8c177d63b142aa4be5b01498da2 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 06689a2d7a18882535819ed13ac7248c81330529) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/corelib/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions