From 971abaf953a33c3c8c91aa2407b3262f2ab3a854 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Thu, 11 Jul 2024 08:35:22 +1000 Subject: [PATCH] Update src/plugins/grass/qgsgrassnewmapset.cpp --- src/plugins/grass/qgsgrassnewmapset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/grass/qgsgrassnewmapset.cpp b/src/plugins/grass/qgsgrassnewmapset.cpp index 39f1f2c2cd0f..ff5b01bca9db 100644 --- a/src/plugins/grass/qgsgrassnewmapset.cpp +++ b/src/plugins/grass/qgsgrassnewmapset.cpp @@ -399,7 +399,7 @@ void QgsGrassNewMapset::setGrassProjection() // Define projection if ( crs.isValid() ) { - const QString wkt = crs.toWkt( Qgis::CrsWktVariant::Preferred ); + const QString wkt = crs.toWkt( QgsCoordinateReferenceSystem::WktVariant::WKT_PREFERRED ); QgsDebugMsgLevel( QStringLiteral( "wkt = %1" ).arg( crs.toWkt( Qgis::CrsWktVariant::Preferred ) ), 3 ); // Note: GPJ_osr_to_grass() defaults in PROJECTION_XY if projection