Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Q_FOREACH -> for
  • Loading branch information
nyalldawson committed Jan 29, 2019
1 parent 919e677 commit 774f025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -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 );
}
Expand Down

0 comments on commit 774f025

Please sign in to comment.