Skip to content
Permalink
Browse files

fix compile error (QList::length() only available in Qt>=4.5)

git-svn-id: http://svn.osgeo.org/qgis/trunk@11503 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Aug 25, 2009
1 parent beab16d commit 32b8dac97231ea9b59545758194bbf39cb0d18d0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsgeometry.cpp
@@ -5326,7 +5326,7 @@ GEOSGeometry* QgsGeometry::reshapeLine( const GEOSGeometry* line, const GEOSGeom
GEOSGeometry* currentGeom = 0;
double maxLength = -DBL_MAX;
double currentLength = 0;
for ( int i = 0; i < probableParts.length(); ++i )
for ( int i = 0; i < probableParts.size(); ++i )
{
currentGeom = probableParts.at( i );
GEOSLength( currentGeom, &currentLength );

0 comments on commit 32b8dac

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