Skip to content
Permalink
Browse files

Restore synchronization between connections and data source manager

Partial revert of commit 22bd2a3
  • Loading branch information
elpaso committed Sep 14, 2017
1 parent 591b01e commit 1e85556922408a9c27443ef08b714636339820d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -1512,7 +1512,7 @@ void QgisApp::dataSourceManager( const QString &pageName )
if ( ! mDataSourceManagerDialog )
{
mDataSourceManagerDialog = new QgsDataSourceManagerDialog( mBrowserModel, this, mapCanvas() );
// Forward signals to this. No need to connect refresh: the browser model is shared
connect( this, &QgisApp::connectionsChanged, mDataSourceManagerDialog, &QgsDataSourceManagerDialog::refresh );
connect( mDataSourceManagerDialog, &QgsDataSourceManagerDialog::connectionsChanged, this, &QgisApp::connectionsChanged );
connect( mDataSourceManagerDialog, SIGNAL( addRasterLayer( QString const &, QString const &, QString const & ) ),
this, SLOT( addRasterLayer( QString const &, QString const &, QString const & ) ) );

0 comments on commit 1e85556

Please sign in to comment.
You can’t perform that action at this time.