Skip to content
Permalink
Browse files

Q_FOREACH -> for

  • Loading branch information
nyalldawson committed Jan 29, 2019
1 parent 919e677 commit 774f0256875518e50c83d2fd04ea323404ee80d5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -13834,7 +13834,7 @@ void QgisApp::showLayerProperties( QgsMapLayer *mapLayer )
QgsVectorLayer *vlayer = qobject_cast<QgsVectorLayer *>( mapLayer );

QgsVectorLayerProperties *vectorLayerPropertiesDialog = new QgsVectorLayerProperties( vlayer, this );
Q_FOREACH ( QgsMapLayerConfigWidgetFactory *factory, mMapLayerPanelFactories )
for ( QgsMapLayerConfigWidgetFactory *factory : qgis::as_const( mMapLayerPanelFactories ) )
{
vectorLayerPropertiesDialog->addPropertiesPageFactory( factory );
}

0 comments on commit 774f025

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