diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2021-06-08 11:59:59 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2021-06-09 04:37:16 +0200 |
commit | 915dd3166ad38884dd57c1e439611201d924dc4c (patch) | |
tree | fed658e8e21e8997c42e6e5578417f55440006a5 /util/cmake | |
parent | e99a9ff495d90e3d97615c8f283cc6d71514035c (diff) |
Unify behavior for long path or UNC prefix removal
Split the code out of QDir::fromNativeSeparator into a separate
reusable function to remove the above-mentioned prefixes. Fixes
and unifies behavior if the prefix was given with slashes instead
of backslashes. Add a couple more test cases.
Fixes: QTBUG-93868
Change-Id: Ibd94ae283e2fb113f9c2db97475fbc7d89522bbf
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
(cherry picked from commit 0564ebdb3641d7325f73dbbf2cbb04e6dca92d83)
Diffstat (limited to 'util/cmake')
0 files changed, 0 insertions, 0 deletions