Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
hints are a flag
  • Loading branch information
3nids committed Jan 31, 2023
1 parent c1d3e78 commit 9998ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/options/qgsvectorrenderingoptions.cpp
Expand Up @@ -79,7 +79,7 @@ void QgsVectorRenderingOptionsWidget::apply()
simplifyHints |= QgsVectorSimplifyMethod::GeometrySimplification;
if ( mSimplifyDrawingSpinBox->value() > 1 ) simplifyHints |= QgsVectorSimplifyMethod::AntialiasingSimplification;
}
settings.setEnumValue( QStringLiteral( "/qgis/simplifyDrawingHints" ), simplifyHints );
settings.setFlagValue( QStringLiteral( "/qgis/simplifyDrawingHints" ), simplifyHints );
settings.setEnumValue( QStringLiteral( "/qgis/simplifyAlgorithm" ), static_cast<QgsVectorSimplifyMethod::SimplifyAlgorithm>( mSimplifyAlgorithmComboBox->currentData().toInt() ) );
settings.setValue( QStringLiteral( "/qgis/simplifyDrawingTol" ), mSimplifyDrawingSpinBox->value() );
settings.setValue( QStringLiteral( "/qgis/simplifyLocal" ), !mSimplifyDrawingAtProvider->isChecked() );
Expand Down

0 comments on commit 9998ef8

Please sign in to comment.