Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 20, 2021
1 parent 07e0748 commit e6bc53b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/providers/oracle/qgsoracledataitems.cpp
Expand Up @@ -25,6 +25,7 @@
#include "qgsmessageoutput.h"
#include "qgsvectorlayer.h"
#include "qgsproxyprogresstask.h"
#include "qgsvectorlayerexporter.h"

#include <QMessageBox>
#include <QProgressDialog>
Expand Down Expand Up @@ -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" ) );
Expand Down

0 comments on commit e6bc53b

Please sign in to comment.