Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
QgsVectorLayerSaveAsDialog: make it work with custom CRS
The current approach was based on a srsid, that that might be unset for custom CRS. So store a full QgsCoordinateReferenceSystem object internally and use that for exchanges with QgsProjectionSelectionWidget Consequence: we need to deprecate the "long crs()" method, and replace it by a "QgsCoordinateReferenceSystem crsObject()" one. I'm not particularly happy with the name but the existing one was not very well named... Mark also the QgsVectorLayerSaveAsDialog( long srsid, ... ) constructor as deprecated Fixes the use case of #34471 (comment)
- Loading branch information
1 parent
b76f39e
commit 535c253
Showing
4 changed files
with
35 additions
and
14 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
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