Skip to content
Permalink
Browse files
constify
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
troopa81 and m-kuhn committed Jan 3, 2022
1 parent 46caa0d commit 2508228aebbc7575303a122e490f9603e47ce09a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -13659,7 +13659,7 @@ void QgisApp::addEmbeddedItems( const QString &projectFile, const QStringList &g

// Resolve references to other layers
const QMap<QString, QgsMapLayer *> layers = QgsProject::instance()->mapLayers();
for ( QMap<QString, QgsMapLayer *>::iterator it = layers.begin(); it != layers.end(); ++it )
for ( QMap<QString, QgsMapLayer *>::const_iterator it = layers.constBegin(); it != layers.constEnd(); ++it )
{
it.value()->resolveReferences( QgsProject::instance() );
}

0 comments on commit 2508228

Please sign in to comment.