Please sign in to comment.
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) (cherry picked from commit 535c253)
- Loading branch information
Showing with 35 additions and 14 deletions.