mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix some warnings
This commit is contained in:
parent
948a312acb
commit
07037ec44a
@ -974,7 +974,6 @@ void QgsProjectProperties::apply()
|
||||
degreeFormat = QStringLiteral( "MU" );
|
||||
break;
|
||||
case DecimalDegrees:
|
||||
default:
|
||||
degreeFormat = QStringLiteral( "D" );
|
||||
break;
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ class CORE_EXPORT QgsExpressionNode SIP_ABSTRACT
|
||||
SIP_END
|
||||
#endif
|
||||
|
||||
Q_DECLARE_TR_FUNCTIONS( QgsExpressionNode );
|
||||
Q_DECLARE_TR_FUNCTIONS( QgsExpressionNode )
|
||||
|
||||
public:
|
||||
|
||||
|
@ -49,7 +49,7 @@ int QgsRasterRenderer::bandCount() const
|
||||
|
||||
Qgis::DataType QgsRasterRenderer::dataType( int bandNo ) const
|
||||
{
|
||||
QgsDebugMsgLevel( "Entered", 4 );
|
||||
QgsDebugMsgLevel( QStringLiteral( "Entered" ), 4 );
|
||||
|
||||
if ( mOn ) return Qgis::ARGB32_Premultiplied;
|
||||
|
||||
|
@ -37,7 +37,7 @@ class QgsRasterTransparency;
|
||||
class CORE_EXPORT QgsRasterRenderer : public QgsRasterInterface
|
||||
{
|
||||
|
||||
Q_DECLARE_TR_FUNCTIONS( QgsRasterRenderer );
|
||||
Q_DECLARE_TR_FUNCTIONS( QgsRasterRenderer )
|
||||
|
||||
public:
|
||||
|
||||
|
@ -39,7 +39,6 @@ namespace QgsWmts
|
||||
|
||||
QgsCoordinateReferenceSystem wgs84 = QgsCoordinateReferenceSystem::fromOgcWmsCrs( GEO_EPSG_CRS_AUTHID );
|
||||
|
||||
int DOTS_PER_INCH = 72;
|
||||
double METERS_PER_INCH = 0.02540005080010160020;
|
||||
QMap< QgsUnitTypes::DistanceUnit, double> INCHES_PER_UNIT = populateInchesPerUnit();
|
||||
int tileWidth = 256;
|
||||
|
Loading…
x
Reference in New Issue
Block a user