Skip to content

Commit

Permalink
fix ArcGIS Feature/Map Server connect()
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Mar 29, 2017
1 parent 99f186a commit da41af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -4643,7 +4643,7 @@ void QgisApp::addAfsLayer()
}
afss->setCurrentExtentAndCrs( mapCanvas()->extent(), mapCanvas()->mapSettings().destinationCrs() );
connect( afss, &QgsSourceSelectDialog::addLayer,
this, [ = ] { addAfsLayer(); } );
this, [ = ]( const QString & uri, const QString & typeName ) { addAfsLayer( uri, typeName ); } );

bool wasFrozen = mapCanvas()->isFrozen();
freezeCanvases();
Expand Down Expand Up @@ -4677,7 +4677,7 @@ void QgisApp::addAmsLayer()
}
amss->setCurrentExtentAndCrs( mapCanvas()->extent(), mapCanvas()->mapSettings().destinationCrs() );
connect( amss, &QgsSourceSelectDialog::addLayer,
this, [ = ] { addAmsLayer(); } );
this, [ = ]( const QString & uri, const QString & typeName ) { addAmsLayer( uri, typeName ); } );

bool wasFrozen = mapCanvas()->isFrozen();
freezeCanvases();
Expand Down

0 comments on commit da41af1

Please sign in to comment.