Skip to content

Commit bc921b4

Browse files
committed
Updated file header for geopackage data items
also added "db" to multiple layers extensions
1 parent 2752510 commit bc921b4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/providers/ogr/qgsgeopackagedataitems.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/***************************************************************************
22
qgsgeopackagedataitems.h
33
---------------------
4-
begin : October 2011
5-
copyright : (C) 2011 by Martin Dobias
6-
email : wonder dot sk at gmail dot com
4+
begin : August 2017
5+
copyright : (C) 2017 by Alessandro Pasotti
6+
email : apasotti at boundlessgeo dot com
77
***************************************************************************
88
* *
99
* This program is free software; you can redistribute it and/or modify *

src/providers/ogr/qgsogrdataitems.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ QGISEXTERN QgsDataItem *dataItem( QString path, QgsDataItem *parentItem )
340340
// Check if the layer has sublayers by comparing the extension
341341
QgsDataItem *item;
342342
QStringList multipleLayersExtensions;
343-
// TODO: add more formats here!
344-
multipleLayersExtensions << QLatin1String( "gpkg" ) << QLatin1String( "sqlite" );
343+
// TODO: add more OGR supported multiple layers formats here!
344+
multipleLayersExtensions << QLatin1String( "gpkg" ) << QLatin1String( "sqlite" ) << QLatin1String( "db" );
345345
if ( ! multipleLayersExtensions.contains( suffix ) )
346346
item = new QgsOgrLayerItem( parentItem, name, path, path, QgsLayerItem::Vector );
347347
else

0 commit comments

Comments
 (0)