Skip to content

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 31, 2018
1 parent 948a312 commit 07037ec
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/app/qgsprojectproperties.cpp
Expand Up @@ -974,7 +974,6 @@ void QgsProjectProperties::apply()
degreeFormat = QStringLiteral( "MU" );
break;
case DecimalDegrees:
default:
degreeFormat = QStringLiteral( "D" );
break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionnode.h
Expand Up @@ -66,7 +66,7 @@ class CORE_EXPORT QgsExpressionNode SIP_ABSTRACT
SIP_END
#endif

Q_DECLARE_TR_FUNCTIONS( QgsExpressionNode );
Q_DECLARE_TR_FUNCTIONS( QgsExpressionNode )

public:

Expand Down
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterrenderer.cpp
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterrenderer.h
Expand Up @@ -37,7 +37,7 @@ class QgsRasterTransparency;
class CORE_EXPORT QgsRasterRenderer : public QgsRasterInterface
{

Q_DECLARE_TR_FUNCTIONS( QgsRasterRenderer );
Q_DECLARE_TR_FUNCTIONS( QgsRasterRenderer )

public:

Expand Down
1 change: 0 additions & 1 deletion src/server/services/wmts/qgswmtsutils.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 07037ec

Please sign in to comment.