mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
use userFriendlyIdentifier instead of authid
This commit is contained in:
parent
6614a003e7
commit
ff939b7cce
@ -1049,8 +1049,8 @@ QString QgsExpression::formatPreviewString( const QVariant &value, const bool ht
|
||||
}
|
||||
else if ( value.userType() == qMetaTypeId< QgsCoordinateReferenceSystem>() )
|
||||
{
|
||||
QgsCoordinateReferenceSystem crs = value.value<QgsCoordinateReferenceSystem>();
|
||||
return startToken + tr( "crs: %1" ).arg( crs.authid() ) + endToken;
|
||||
const QgsCoordinateReferenceSystem crs = value.value<QgsCoordinateReferenceSystem>();
|
||||
return startToken + tr( "crs: %1" ).arg( crs.userFriendlyIdentifier() ) + endToken;
|
||||
}
|
||||
else if ( value.userType() == qMetaTypeId< QgsInterval>() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user