Skip to content
Permalink
Browse files
MemoryProvider native type is boolean and not bool
  • Loading branch information
domi4484 committed Aug 17, 2021
1 parent d6df531 commit 29a0c37593b175eabec517295776fa021d610501
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/providers/memory/qgsmemoryprovider.cpp
@@ -103,7 +103,7 @@ QgsMemoryProvider::QgsMemoryProvider( const QString &uri, const ProviderOptions
<< QgsVectorDataProvider::NativeType( tr( "Text, unlimited length (text)" ), QStringLiteral( "text" ), QVariant::String, -1, -1, -1, -1 )

// boolean
<< QgsVectorDataProvider::NativeType( tr( "Boolean" ), QStringLiteral( "bool" ), QVariant::Bool )
<< QgsVectorDataProvider::NativeType( tr( "Boolean" ), QStringLiteral( "boolean" ), QVariant::Bool )

// blob
<< QgsVectorDataProvider::NativeType( tr( "Binary object (BLOB)" ), QStringLiteral( "binary" ), QVariant::ByteArray )

0 comments on commit 29a0c37

Please sign in to comment.