Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Treat mdb files as a database source in browser
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Aug 6, 2020
1 parent 09fed67 commit d1a1719
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/providers/ogr/qgsogrdataitems.cpp
Expand Up @@ -580,10 +580,12 @@ QgsDataItem *QgsOgrDataItemProvider::createDataItem( const QString &pathIn, QgsD
QStringLiteral( "gdb" ),
QStringLiteral( "kml" ),
QStringLiteral( "osm" ),
QStringLiteral( "mdb" ),
QStringLiteral( "pbf" ) };
static QStringList sOgrSupportedDbDriverNames { QStringLiteral( "GPKG" ),
QStringLiteral( "db" ),
QStringLiteral( "gdb" ) };
QStringLiteral( "gdb" ),
QStringLiteral( "pgdb" )};

// these extensions are trivial to read, so there's no need to rely on
// the extension only scan here -- avoiding it always gives us the correct data type
Expand Down

0 comments on commit d1a1719

Please sign in to comment.