mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-23 00:05:43 -04:00
remove Q_ASSERT because of crssync
This commit is contained in:
parent
53c7dd3a22
commit
2a86b6efd2
@ -384,8 +384,8 @@ QgsProject::QgsProject( QObject *parent )
|
||||
connect( mLayerStore.get(), &QgsMapLayerStore::allLayersRemoved, this, &QgsProject::removeAll );
|
||||
connect( mLayerStore.get(), &QgsMapLayerStore::layersAdded, this, &QgsProject::layersAdded );
|
||||
connect( mLayerStore.get(), &QgsMapLayerStore::layerWasAdded, this, &QgsProject::layerWasAdded );
|
||||
Q_ASSERT( QgsApplication::instance() );
|
||||
connect( QgsApplication::instance(), &QgsApplication::requestForTranslatableObjects, this, &QgsProject::registerTranslatableObjects );
|
||||
if ( QgsApplication::instance() )
|
||||
connect( QgsApplication::instance(), &QgsApplication::requestForTranslatableObjects, this, &QgsProject::registerTranslatableObjects );
|
||||
connect( mLayerStore.get(), static_cast<void ( QgsMapLayerStore::* )( const QList<QgsMapLayer *> & )>( &QgsMapLayerStore::layersWillBeRemoved ),
|
||||
[ = ]( const QList<QgsMapLayer *> &layers )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user