Skip to content
Permalink
Browse files
Add more const ref
  • Loading branch information
pblottiere committed May 18, 2017
1 parent 8f50b9e commit eff5b55771a193716330661638a2c4271ef4cc5d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayer.cpp
@@ -223,7 +223,7 @@ QgsVectorLayer *QgsVectorLayer::clone() const
layer->setFeatureBlendMode( featureBlendMode() );
layer->setLayerTransparency( layerTransparency() );

Q_FOREACH ( QgsAction action, actions()->actions() )
Q_FOREACH ( const QgsAction &action, actions()->actions() )
{
layer->actions()->addAction( action );
}

0 comments on commit eff5b55

Please sign in to comment.