Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix build
  • Loading branch information
nyalldawson committed May 15, 2023
1 parent 28747c9 commit 82d2063
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -8425,7 +8425,7 @@ QString QgisApp::saveAsVectorFileGeneral( QgsVectorLayer *vlayer, bool symbology

if ( !symbologyOption )
{
options &= ~QgsVectorLayerSaveAsDialog::Symbology;
options &= ~QgsVectorLayerSaveAsDialog::Option::Symbology;
}

QgsVectorLayerSaveAsDialog *dialog = new QgsVectorLayerSaveAsDialog( vlayer, options, this );
Expand Down Expand Up @@ -8473,7 +8473,7 @@ QString QgisApp::saveAsVectorFileGeneral( QgsVectorLayer *vlayer, bool symbology
options.datasourceOptions = datasourceOptions;
options.layerOptions = dialog->layerOptions();
options.skipAttributeCreation = dialog->selectedAttributes().isEmpty();
options.symbologyExport = static_cast< QgsVectorFileWriter::SymbologyExport >( dialog->symbologyExport() );
options.symbologyExport = dialog->symbologyExport();
options.symbologyScale = dialog->scale();
if ( dialog->hasFilterExtent() )
options.filterExtent = filterExtent;
Expand Down

0 comments on commit 82d2063

Please sign in to comment.