Skip to content
Permalink
Browse files

Const-correct QgsMapToPixel::showParameters

  • Loading branch information
Sandro Santilli
Sandro Santilli committed Dec 9, 2014
1 parent 87de9f5 commit a56ec981a38fd53e5656f2122beee8506d0e68c5
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/qgsmaptopixel.cpp
  2. +1 −1 src/core/qgsmaptopixel.h
@@ -229,7 +229,7 @@ void QgsMapToPixel::setParameters( double mapUnitsPerPixel,
updateMatrix();
}

QString QgsMapToPixel::showParameters()
QString QgsMapToPixel::showParameters() const
{
QString rep;
QTextStream( &rep ) << "Map units/pixel: " << mMapUnitsPerPixel
@@ -174,7 +174,7 @@ class CORE_EXPORT QgsMapToPixel
void setParameters( double mapUnitsPerPixel, double xc, double yc, int width, int height, double rotation );

//! String representation of the parameters used in the transform
QString showParameters();
QString showParameters() const;

private:
double mMapUnitsPerPixel;

0 comments on commit a56ec98

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