connect the app's signal to the interface's, to re-emit it from the interface.

This commit is contained in:
Marco Bernasocchi 2014-12-16 23:27:56 +01:00
parent 06708186c0
commit 729bdec028

View File

@ -65,6 +65,8 @@ QgisAppInterface::QgisAppInterface( QgisApp * _qgis )
this, SIGNAL( newProjectCreated() ) ); this, SIGNAL( newProjectCreated() ) );
connect( qgis, SIGNAL( projectRead() ), connect( qgis, SIGNAL( projectRead() ),
this, SIGNAL( projectRead() ) ); this, SIGNAL( projectRead() ) );
connect( qgis, SIGNAL( layerSavedAs( QgsMapLayer*, QString ) ),
this, SIGNAL( layerSavedAs(QgsMapLayer*, QString ) ) );
} }
QgisAppInterface::~QgisAppInterface() QgisAppInterface::~QgisAppInterface()