Skip to content

Commit a56ec98

Browse files
author
Sandro Santilli
committedDec 9, 2014
Const-correct QgsMapToPixel::showParameters
1 parent 87de9f5 commit a56ec98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/core/qgsmaptopixel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ void QgsMapToPixel::setParameters( double mapUnitsPerPixel,
229229
updateMatrix();
230230
}
231231

232-
QString QgsMapToPixel::showParameters()
232+
QString QgsMapToPixel::showParameters() const
233233
{
234234
QString rep;
235235
QTextStream( &rep ) << "Map units/pixel: " << mMapUnitsPerPixel

‎src/core/qgsmaptopixel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class CORE_EXPORT QgsMapToPixel
174174
void setParameters( double mapUnitsPerPixel, double xc, double yc, int width, int height, double rotation );
175175

176176
//! String representation of the parameters used in the transform
177-
QString showParameters();
177+
QString showParameters() const;
178178

179179
private:
180180
double mMapUnitsPerPixel;

0 commit comments

Comments
 (0)
Please sign in to comment.