[spatialite] Use QVariant::LongLong as int type consistently

This commit is contained in:
Matthias Kuhn 2013-08-29 14:43:58 +02:00
parent 22eec4afe8
commit 2f2e0880cc

View File

@ -758,7 +758,7 @@ void QgsSpatiaLiteProvider::loadFields()
strcasecmp( type, "tinyint" ) == 0 ||
strcasecmp( type, "boolean" ) == 0 )
{
fieldType = QVariant::Int;
fieldType = QVariant::LongLong;
}
else if ( strcasecmp( type, "real" ) == 0 ||
strcasecmp( type, "double" ) == 0 ||