mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
remove unused comments
This commit is contained in:
parent
7acd83fd09
commit
9dd96dab34
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user