Skip to content

Commit 6403ebd

Browse files
committed
fix add/remove layers connections (follows up f9ed6d4)
1 parent 4524023 commit 6403ebd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/qgisapp.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1649,11 +1649,11 @@ void QgisApp::setupConnections()
16491649
this, SLOT( markDirty() ) );
16501650

16511651
// connect map layer registry
1652-
connect( QgsMapLayerRegistry::instance(), SIGNAL( layersAdded( QgsMapLayer * ) ),
1653-
this, SLOT( layersWereAdded( QgsMapLayer * ) ) );
1652+
connect( QgsMapLayerRegistry::instance(), SIGNAL( layersAdded( QList<QgsMapLayer *> ) ),
1653+
this, SLOT( layersWereAdded( QList<QgsMapLayer *> ) ) );
16541654
connect( QgsMapLayerRegistry::instance(),
16551655
SIGNAL( layersWillBeRemoved( QStringList ) ),
1656-
this, SLOT( removingLayer( QString ) ) );
1656+
this, SLOT( removingLayers( QStringList ) ) );
16571657

16581658
// Connect warning dialog from project reading
16591659
connect( QgsProject::instance(), SIGNAL( oldProjectVersionWarning( QString ) ),

0 commit comments

Comments
 (0)