Skip to content
Permalink
Browse files

Enable the use of the browse button for spatialite provider in missin…

…g layer dialog
  • Loading branch information
nirvn authored and nyalldawson committed Mar 11, 2021
1 parent 5c101e7 commit acc0eb4125f0ab637556812a9ebc5a88de6eb719
@@ -5888,6 +5888,11 @@ QString QgsSpatiaLiteProviderMetadata::encodeUri( const QVariantMap &parts ) con
return dsUri.uri();
}

QgsProviderMetadata::ProviderCapabilities QgsSpatiaLiteProviderMetadata::providerCapabilities() const
{
return FileBasedUris;
}


QgsVectorLayerExporter::ExportError QgsSpatiaLiteProviderMetadata::createEmptyLayer(
const QString &uri,
@@ -430,6 +430,7 @@ class QgsSpatiaLiteProviderMetadata final: public QgsProviderMetadata
QStringList &descriptions, QString &errCause ) override;
QVariantMap decodeUri( const QString &uri ) const override;
QString encodeUri( const QVariantMap &parts ) const override;
ProviderCapabilities providerCapabilities() const override;
QgsSpatiaLiteProvider *createProvider( const QString &uri, const QgsDataProvider::ProviderOptions &options, QgsDataProvider::ReadFlags flags = QgsDataProvider::ReadFlags() ) override;

QgsVectorLayerExporter::ExportError createEmptyLayer( const QString &uri, const QgsFields &fields,

0 comments on commit acc0eb4

Please sign in to comment.