[QGIS Commit] r10427 - trunk/qgis/src/providers/wfs

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Mar 27 13:40:33 EDT 2009


Author: jef
Date: 2009-03-27 13:40:33 -0400 (Fri, 27 Mar 2009)
New Revision: 10427

Modified:
   trunk/qgis/src/providers/wfs/qgswfsprovider.cpp
Log:
fix warning in wfs provider

Modified: trunk/qgis/src/providers/wfs/qgswfsprovider.cpp
===================================================================
--- trunk/qgis/src/providers/wfs/qgswfsprovider.cpp	2009-03-27 17:40:08 UTC (rev 10426)
+++ trunk/qgis/src/providers/wfs/qgswfsprovider.cpp	2009-03-27 17:40:33 UTC (rev 10427)
@@ -66,7 +66,7 @@
 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 @@
   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" )
     {



More information about the QGIS-commit mailing list