Skip to content
Permalink
Browse files
Fix build
  • Loading branch information
nyalldawson committed May 20, 2021
1 parent 07e0748 commit e6bc53ba10ea4fdebe36efc6873e377c4f45e947
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/providers/oracle/qgsoracledataitems.cpp
@@ -25,6 +25,7 @@
#include "qgsmessageoutput.h"
#include "qgsvectorlayer.h"
#include "qgsproxyprogresstask.h"
#include "qgsvectorlayerexporter.h"

#include <QMessageBox>
#include <QProgressDialog>
@@ -375,9 +376,9 @@ bool QgsOracleConnectionItem::handleDrop( const QMimeData *data, Qt::DropAction
} );

// when an error occurs:
connect( exportTask.get(), &QgsVectorLayerExporterTask::errorOccurred, this, [ = ]( int error, const QString & errorMessage )
connect( exportTask.get(), &QgsVectorLayerExporterTask::errorOccurred, this, [ = ]( Qgis::VectorExportResult error, const QString & errorMessage )
{
if ( error != QgsVectorLayerExporter::ErrUserCanceled )
if ( error != Qgis::VectorExportResult::UserCanceled )
{
QgsMessageOutput *output = QgsMessageOutput::createMessageOutput();
output->setTitle( tr( "Import to Oracle database" ) );

0 comments on commit e6bc53b

Please sign in to comment.