Skip to content

Commit

Permalink
Changed QgsCoordinateTransform default constructor to not initialize …
Browse files Browse the repository at this point in the history
…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@5002 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 11, 2006
1 parent 639a3b4 commit 73fda62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgscoordinatetransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// Qt4-only includes to go here
#include <QTextOStream>

QgsCoordinateTransform::QgsCoordinateTransform( ) : QObject(), mSourceSRS(0), mDestSRS(0)
QgsCoordinateTransform::QgsCoordinateTransform( ) : QObject(), mSourceSRS(), mDestSRS()

{
}
Expand Down

0 comments on commit 73fda62

Please sign in to comment.