Skip to content
Permalink
Browse files
fix add/remove layers connections (follows up f9ed6d4)
  • Loading branch information
jef-n committed Apr 7, 2012
1 parent 4524023 commit 6403ebdd1addc3b1af9e7969672834fb7e9553bc
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/qgisapp.cpp
@@ -1649,11 +1649,11 @@ void QgisApp::setupConnections()
this, SLOT( markDirty() ) );

// connect map layer registry
connect( QgsMapLayerRegistry::instance(), SIGNAL( layersAdded( QgsMapLayer * ) ),
this, SLOT( layersWereAdded( QgsMapLayer * ) ) );
connect( QgsMapLayerRegistry::instance(), SIGNAL( layersAdded( QList<QgsMapLayer *> ) ),
this, SLOT( layersWereAdded( QList<QgsMapLayer *> ) ) );
connect( QgsMapLayerRegistry::instance(),
SIGNAL( layersWillBeRemoved( QStringList ) ),
this, SLOT( removingLayer( QString ) ) );
this, SLOT( removingLayers( QStringList ) ) );

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

0 comments on commit 6403ebd

Please sign in to comment.