-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix layer datasources incorrectly resolving to matching working direc…
…tory names (#60109) * Fix layer paths resolving to matching CWD names - Remove redundant second call to absoluteToRelativeUri in QgsMapLayer::writeLayerXml - Add a guard in QgsPathResolver::writePath to prevent this happening again when absoluteToRelativeUri is called two times. - Add a regression test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove redundant relativeToAbsoluteUri call - The b9c1c2c commit introduced redundant absoluteToRelativeUri AND relativeToAbsoluteUri calls. First one was removed earlier, stopping the #60100 issue. Remove the latter for completeness too. - Minor indentation fix * Fix test error [-Wclazy-unused-non-trivial-variable] * Fix another unused variable complaint --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0225742
commit 0099198
Showing
3 changed files
with
88 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters