[Marble-commits] KDE/kdeedu/marble/src/lib
Laurent Montel
montel at kde.org
Thu Aug 27 09:25:16 CEST 2009
SVN commit 1016219 by mlaurent:
Fix iterator
M +2 -2 MarbleGeometryModel.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleGeometryModel.cpp #1016218:1016219
@@ -56,8 +56,8 @@
QVector<GeoDataGeometry>::iterator iterator = vec.begin();
QVector<GeoDataGeometry>::iterator end = vec.end();
for(; iterator != end; ++iterator ) {
- m_parent.insert( iterator, geometry );
- if( iterator->geometryId() == GeoDataMultiGeometryId ) mapGeometry( iterator );
+ m_parent.insert( &(*iterator), &(*geometry) );
+ if( iterator->geometryId() == GeoDataMultiGeometryId ) mapGeometry( &(*iterator) );
}
};
More information about the Marble-commits
mailing list