Skip to content

Commit

Permalink
Fix connect to lamda missing context argument
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 19, 2019
1 parent f3c92fa commit eb7dc59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsdatasourceselectdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ QgsDataSourceSelectDialog::QgsDataSourceSelectDialog(

mBrowserTreeView->setExpandsOnDoubleClick( false );

connect( mActionRefresh, &QAction::triggered, [ = ] { refreshModel( QModelIndex() ); } );
connect( mActionRefresh, &QAction::triggered, this, [ = ] { refreshModel( QModelIndex() ); } );
connect( mBrowserTreeView, &QgsBrowserTreeView::clicked, this, &QgsDataSourceSelectDialog::onLayerSelected );
connect( mActionCollapse, &QAction::triggered, mBrowserTreeView, &QgsBrowserTreeView::collapseAll );
connect( mActionShowFilter, &QAction::triggered, this, &QgsDataSourceSelectDialog::showFilterWidget );
Expand Down

0 comments on commit eb7dc59

Please sign in to comment.