Skip to content

Commit 55f93c7

Browse files
committed
Make doxygen a bit happier
1 parent 3b2bac2 commit 55f93c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/qgsvectorlayerexporter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ QgsVectorLayerExporter::QgsVectorLayerExporter( const QString &uri,
5252
const QgsCoordinateReferenceSystem &crs,
5353
bool overwrite,
5454
const QMap<QString, QVariant> &options,
55-
SinkFlags sinkFlags )
55+
QgsFeatureSink::SinkFlags sinkFlags )
5656
: mErrorCount( 0 )
5757
, mAttributeCount( -1 )
5858

@@ -126,7 +126,7 @@ QgsVectorLayerExporter::QgsVectorLayerExporter( const QString &uri,
126126
// that will be filled by ogr with unique values.
127127

128128
// HACK sorry
129-
const QString path = QgsProviderRegistry::instance()->decodeUri( QStringLiteral( "ogr" ), uri ).value( QStringLiteral( "path" ) );
129+
const QString path = QgsProviderRegistry::instance()->decodeUri( QStringLiteral( "ogr" ), uri ).value( QStringLiteral( "path" ) ).toString();
130130
if ( sinkFlags.testFlag( QgsFeatureSink::SinkFlag::RegeneratePrimaryKey ) && path.endsWith( QLatin1String( ".gpkg" ) ) )
131131
{
132132
QString fidName = options.value( QStringLiteral( "FID" ), QStringLiteral( "FID" ) ).toString();

0 commit comments

Comments
 (0)