Skip to content

Commit d87b3a1

Browse files
author
wonder
committedMar 11, 2006
Changed QgsCoordinateTransform default constructor to not initialize SRS.
This was causing that layers without SRS got always a valid SRS before they could get validated with project, global or selected SRS. git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5002 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/qgscoordinatetransform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// Qt4-only includes to go here
2626
#include <QTextOStream>
2727

28-
QgsCoordinateTransform::QgsCoordinateTransform( ) : QObject(), mSourceSRS(0), mDestSRS(0)
28+
QgsCoordinateTransform::QgsCoordinateTransform( ) : QObject(), mSourceSRS(), mDestSRS()
2929

3030
{
3131
}

0 commit comments

Comments
 (0)
Please sign in to comment.