Skip to content

Commit

Permalink
remove unused comments
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Nov 19, 2018
1 parent 7acd83f commit 9dd96da
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/providers/ogr/qgsgeopackagedataitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down Expand Up @@ -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() );
Expand Down
3 changes: 0 additions & 3 deletions src/providers/ogr/qgsgeopackagedataitems.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit 9dd96da

Please sign in to comment.