Skip to content
Permalink
Browse files
Fix missing delete action for gpkg layers in browser
  • Loading branch information
nyalldawson committed Dec 5, 2017
1 parent eda3d6e commit 8cb206e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -526,7 +526,7 @@ void QgsGeoPackageCollectionItem::addConnection()
#endif

#ifdef HAVE_GUI
QList<QAction *> QgsGeoPackageAbstractLayerItem::actions()
QList<QAction *> QgsGeoPackageAbstractLayerItem::actions( QWidget * )
{
QList<QAction *> lst;
QAction *actionDeleteLayer = new QAction( tr( "Delete Layer '%1'..." ).arg( mName ), this );
@@ -37,7 +37,7 @@ class QgsGeoPackageAbstractLayerItem : public QgsLayerItem
*/
virtual bool executeDeleteLayer( QString &errCause );
#ifdef HAVE_GUI
QList<QAction *> actions();
QList<QAction *> actions( QWidget *parent ) override;
public slots:
virtual void deleteLayer();
#endif

0 comments on commit 8cb206e

Please sign in to comment.