remove unused comments

This commit is contained in:
signedav 2018-11-19 09:42:33 +01:00
parent 7acd83fd09
commit 9dd96dab34
2 changed files with 0 additions and 5 deletions

View File

@ -77,7 +77,6 @@ QVector<QgsDataItem *> QgsGeoPackageRootItem::createChildren()
#ifdef HAVE_GUI #ifdef HAVE_GUI
QList<QAction *> QgsGeoPackageAbstractLayerItem::actions( QWidget * ) QList<QAction *> QgsGeoPackageAbstractLayerItem::actions( QWidget * )
{ {
//dave: decide if more than one layer is selected. if more then "Delete selected Layers"
QList<QAction *> lst; QList<QAction *> lst;
const QString deleteText = selectedItems().count() == 1 ? tr( "Delete Layer '%1'…" ).arg( mName ) const QString deleteText = selectedItems().count() == 1 ? tr( "Delete Layer '%1'…" ).arg( mName )
@ -501,7 +500,6 @@ void QgsGeoPackageCollectionItem::vacuumGeoPackageDbAction()
void QgsGeoPackageAbstractLayerItem::deleteLayer() 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 // Check if the layer(s) are in the registry
QList<QgsMapLayer *> layersList; QList<QgsMapLayer *> layersList;
const auto mapLayers( QgsProject::instance()->mapLayers() ); const auto mapLayers( QgsProject::instance()->mapLayers() );

View File

@ -28,9 +28,6 @@ class QgsGeoPackageAbstractLayerItem : public QgsLayerItem
{ {
Q_OBJECT Q_OBJECT
//! Returns layer uri or empty string if layer cannot be created
QString uri() const { return mUri; }
protected: protected:
QgsGeoPackageAbstractLayerItem( QgsDataItem *parent, const QString &name, const QString &path, const QString &uri, LayerType layerType, const QString &providerKey ); QgsGeoPackageAbstractLayerItem( QgsDataItem *parent, const QString &name, const QString &path, const QString &uri, LayerType layerType, const QString &providerKey );