fix warning in wfs provider

git-svn-id: http://svn.osgeo.org/qgis/trunk@10427 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2009-03-27 17:40:33 +00:00
parent 9addfdbbd2
commit 9079ea9840

View File

@ -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" )
{