Skip to content
Permalink
Browse files

fix build

  • Loading branch information
jef-n committed Jan 9, 2019
1 parent b847b49 commit 9e957af43c67eb62c136a9ec9644c4e5c0239c97
Showing with 4 additions and 2 deletions.
  1. +3 −1 src/providers/oracle/qgsoracledataitems.cpp
  2. +1 −1 src/providers/oracle/qgsoracledataitems.h
@@ -336,7 +336,7 @@ QList<QAction *> QgsOracleLayerItem::actions( QWidget *parent )
return lst;
}

void QgsOracleLayerItem::deleteLayer()
bool QgsOracleLayerItem::deleteLayer()
{
if ( QMessageBox::question( nullptr, QObject::tr( "Delete Table" ),
QObject::tr( "Are you sure you want to delete %1.%2?" ).arg( mLayerProperty.ownerName, mLayerProperty.tableName ),
@@ -354,6 +354,8 @@ void QgsOracleLayerItem::deleteLayer()
QMessageBox::information( nullptr, tr( "Delete Table" ), tr( "Table deleted successfully." ) );
deleteLater();
}

return res;
}

QString QgsOracleLayerItem::createUri()
@@ -114,7 +114,7 @@ class QgsOracleLayerItem : public QgsLayerItem
QList<QAction *> actions( QWidget *parent ) override;

public slots:
void deleteLayer();
bool deleteLayer();

private:
QgsOracleLayerProperty mLayerProperty;

0 comments on commit 9e957af

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