Skip to content

Commit

Permalink
Another connect without context
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 4, 2019
1 parent 7f987df commit cdc03e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/providers/ogr/qgsgeopackageitemguiprovider.cpp
Expand Up @@ -94,7 +94,7 @@ void QgsGeoPackageItemGuiProvider::populateContextMenu( QgsDataItem *item, QMenu
// Add table to existing DB
QAction *actionAddTable = new QAction( tr( "Create a New Layer or Table…" ), collectionItem->parent() );
QPointer<QgsGeoPackageCollectionItem>collectionItemPtr { collectionItem };
connect( actionAddTable, &QAction::triggered, [ collectionItemPtr ]
connect( actionAddTable, &QAction::triggered, actionAddTable, [ collectionItemPtr ]
{
if ( collectionItemPtr )
{
Expand Down

0 comments on commit cdc03e1

Please sign in to comment.