Skip to content

Commit

Permalink
fix add/remove layers connections (follows up f9ed6d4)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 7, 2012
1 parent 4524023 commit 6403ebd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/qgisapp.cpp
Expand Up @@ -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 ) ),
Expand Down

0 comments on commit 6403ebd

Please sign in to comment.