Skip to content
Permalink
Browse files
Const-correct QgsMapToPixel::showParameters
  • Loading branch information
Sandro Santilli committed Dec 9, 2014
1 parent 87de9f5 commit a56ec98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -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.