diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2024-07-11 17:20:39 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2024-08-03 01:24:46 -0700 |
| commit | 09055d7211b1f8ba9fdec141a1e919faee1c1676 (patch) | |
| tree | a384d854cc90bf595630fc8dc8cd4c5828fb3d64 /src/widgets/doc/snippets/cmake-macros/examples.cpp | |
| parent | 4b1547adc9b195e6acc90471fc48dec7ee0c429d (diff) | |
QUrl::resolved: avoid detaching from paths that don't have dot segments
This can happen in any number of cases where neither the base URI nor
the relative one had a "." or ".." segment. In particular, we want to
avoid detaching in the case where the new path is the same as either of
the base or relative URI's, which can happen when the other was empty
(and mergePaths() didn't have to prepend a slash).
Change-Id: Iac1ff680887641888e00fffd17e14f3927e828ae
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/cmake-macros/examples.cpp')
0 files changed, 0 insertions, 0 deletions
