Skip to content
Browse files

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

…g layer dialog
  • Loading branch information
nirvn authored and github-actions committed Mar 10, 2021
1 parent 8e472a8 commit 82c24c0a168d90dde8f6bc32799cd52138b92072
@@ -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 82c24c0

Please sign in to comment.