Skip to content
Permalink
Browse files

fix garbled exceptions on proj errors

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12550 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 20, 2009
1 parent 407f530 commit 351b8e7bae17537d5c398021deca555c81c25efa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscoordinatetransform.cpp
@@ -483,7 +483,7 @@ void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, d
}
}

pjErr << tr( "with error: " ) << pj_strerrno( projResult ) << '\n';
pjErr << tr( "with error: " ) << QString::fromUtf8( pj_strerrno( projResult ) ) << '\n';

QgsDebugMsg( "Projection failed emitting invalid transform signal: " + QString( msg.toLocal8Bit().data() ) );

0 comments on commit 351b8e7

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