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 c6a5baf commit 3b442e2ad255fd197d7ec03374bc21ed590eade4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -13639,7 +13639,7 @@ void QgisApp::addEmbeddedItems( const QString &projectFile, const QStringList &g
}

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

0 comments on commit 3b442e2

Please sign in to comment.