Skip to content

Commit

Permalink
fix warning in wfs provider
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10427 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 27, 2009
1 parent 1d01a54 commit 2b6d068
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/providers/wfs/qgswfsprovider.cpp
Expand Up @@ -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() )
Expand Down Expand Up @@ -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" )
{
Expand Down

0 comments on commit 2b6d068

Please sign in to comment.