Skip to content

Commit df5cb26

Browse files
author
jef
committedAug 25, 2009
fix compile error (QList::length() only available in Qt>=4.5)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11503 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent d533649 commit df5cb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsgeometry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5326,7 +5326,7 @@ GEOSGeometry* QgsGeometry::reshapeLine( const GEOSGeometry* line, const GEOSGeom
53265326
GEOSGeometry* currentGeom = 0;
53275327
double maxLength = -DBL_MAX;
53285328
double currentLength = 0;
5329-
for ( int i = 0; i < probableParts.length(); ++i )
5329+
for ( int i = 0; i < probableParts.size(); ++i )
53305330
{
53315331
currentGeom = probableParts.at( i );
53325332
GEOSLength( currentGeom, &currentLength );

0 commit comments

Comments
 (0)
Please sign in to comment.