Skip to content
Permalink
Browse files

Fix some warnings

  • Loading branch information
nyalldawson committed Aug 31, 2018
1 parent 948a312 commit 07037ec44a140ebcd5ba181deb7a925fdfaa2890
@@ -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;

0 comments on commit 07037ec

Please sign in to comment.
You can’t perform that action at this time.