Skip to content
Permalink
Browse files

fix warning in wfs provider

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10427 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 27, 2009
1 parent 1d01a54 commit 2b6d068d0d141debf87edba6239e1fa9f73d6e92
Showing with 2 additions and 3 deletions.
  1. +2 −3 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" )
{

0 comments on commit 2b6d068

Please sign in to comment.
You can’t perform that action at this time.