From 9079ea98400f5332d1af9524e2020715470e3f34 Mon Sep 17 00:00:00 2001 From: jef Date: Fri, 27 Mar 2009 17:40:33 +0000 Subject: [PATCH] fix warning in wfs provider git-svn-id: http://svn.osgeo.org/qgis/trunk@10427 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/providers/wfs/qgswfsprovider.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/providers/wfs/qgswfsprovider.cpp b/src/providers/wfs/qgswfsprovider.cpp index 50310727723..19142e5f14e 100644 --- a/src/providers/wfs/qgswfsprovider.cpp +++ b/src/providers/wfs/qgswfsprovider.cpp @@ -66,7 +66,7 @@ QgsWFSProvider::~QgsWFSProvider() bool QgsWFSProvider::nextFeature( QgsFeature& feature ) { feature.setValid( false ); - + while ( true ) //go through the loop until we find a feature in the filter { if ( mSelectedFeatures.size() == 0 || mFeatureIterator == mSelectedFeatures.end() ) @@ -279,8 +279,7 @@ int QgsWFSProvider::getFeatureGET( const QString& uri, const QString& geometryAt QWidget* mainWindow = 0; QWidgetList topLevelWidgets = qApp->topLevelWidgets(); - QWidgetList::iterator it = topLevelWidgets.begin(); - for ( ; it != topLevelWidgets.end(); ++it ) + for ( QWidgetList::iterator it = topLevelWidgets.begin(); it != topLevelWidgets.end(); ++it ) { if (( *it )->objectName() == "QgisApp" ) {