Skip to content
Permalink
Browse files
std::as_const --> qgis::a_const
  • Loading branch information
vcloarec authored and nyalldawson committed Jul 6, 2021
1 parent 61a59b5 commit 421009b6ffe9ce1fe4e7cce30889c81226a07e7e
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/gui/mesh/qgsmeshlayerproperties.cpp
@@ -214,7 +214,7 @@ void QgsMeshLayerProperties::syncToLayer()
mDatasetGroupTreeWidget->syncToLayer( mMeshLayer );

QgsDebugMsgLevel( QStringLiteral( "populate config tab" ), 4 );
for ( QgsMapLayerConfigWidget *w : std::as_const( mConfigWidgets ) )
for ( QgsMapLayerConfigWidget *w : qgis::as_const( mConfigWidgets ) )
w->syncToLayer( mMeshLayer );

QgsDebugMsgLevel( QStringLiteral( "populate rendering tab" ), 4 );
@@ -362,7 +362,7 @@ void QgsMeshLayerProperties::apply()

QgsDebugMsgLevel( QStringLiteral( "processing config tabs" ), 4 );

for ( QgsMapLayerConfigWidget *w : std::as_const( mConfigWidgets ) )
for ( QgsMapLayerConfigWidget *w : qgis::as_const( mConfigWidgets ) )
w->apply();

QgsDebugMsgLevel( QStringLiteral( "processing rendering tab" ), 4 );
@@ -410,7 +410,7 @@ void QgsMeshLayerProperties::apply()

// Resync what have to be resync (widget that can be changed by other properties part)
mStaticDatasetWidget->syncToLayer();
for ( QgsMapLayerConfigWidget *w : std::as_const( mConfigWidgets ) )
for ( QgsMapLayerConfigWidget *w : qgis::as_const( mConfigWidgets ) )
w->syncToLayer( mMeshLayer );
}

0 comments on commit 421009b

Please sign in to comment.