Skip to content

Commit

Permalink
fix compile error (QList::length() only available in Qt>=4.5)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@11503 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 25, 2009
1 parent beab16d commit 32b8dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsgeometry.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 32b8dac

Please sign in to comment.