Skip to content
Permalink
Browse files

remove unused comments

  • Loading branch information
signedav committed Nov 19, 2018
1 parent 7acd83f commit 9dd96dab34ac9ccbf2f6c8033462a6bbea8b4d8e
Showing with 0 additions and 5 deletions.
  1. +0 −2 src/providers/ogr/qgsgeopackagedataitems.cpp
  2. +0 −3 src/providers/ogr/qgsgeopackagedataitems.h
@@ -77,7 +77,6 @@ QVector<QgsDataItem *> QgsGeoPackageRootItem::createChildren()
#ifdef HAVE_GUI
QList<QAction *> QgsGeoPackageAbstractLayerItem::actions( QWidget * )
{
//dave: decide if more than one layer is selected. if more then "Delete selected Layers"
QList<QAction *> lst;

const QString deleteText = selectedItems().count() == 1 ? tr( "Delete Layer '%1'…" ).arg( mName )
@@ -501,7 +500,6 @@ void QgsGeoPackageCollectionItem::vacuumGeoPackageDbAction()

void QgsGeoPackageAbstractLayerItem::deleteLayer()
{
//dave: here we are - we need to find out what other layers in the gpkg are selected and delete em
// Check if the layer(s) are in the registry
QList<QgsMapLayer *> layersList;
const auto mapLayers( QgsProject::instance()->mapLayers() );
@@ -28,9 +28,6 @@ class QgsGeoPackageAbstractLayerItem : public QgsLayerItem
{
Q_OBJECT

//! Returns layer uri or empty string if layer cannot be created
QString uri() const { return mUri; }

protected:
QgsGeoPackageAbstractLayerItem( QgsDataItem *parent, const QString &name, const QString &path, const QString &uri, LayerType layerType, const QString &providerKey );

0 comments on commit 9dd96da

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