Skip to content
Permalink
Browse files
constify
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
2 people authored and github-actions committed Jan 4, 2022
1 parent 3b442e2 commit 9f852cf0403d6f3d362605336ecc17b75592ed50
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -13640,7 +13640,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 9f852cf

Please sign in to comment.