fix garbled exceptions on proj errors

git-svn-id: http://svn.osgeo.org/qgis/trunk@12550 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2009-12-20 20:09:36 +00:00
parent 7736a27b11
commit 32ea3a2ae1

View File

@ -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() ) );