Skip to content

Commit

Permalink
Fix Ingres driver name so it is recognized.
Browse files Browse the repository at this point in the history
OGR reports the driver name in title case rather than
all caps currently used in qgsogrprovider.cpp
  • Loading branch information
g-sherman committed Jun 4, 2012
1 parent dab4758 commit f370549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -1690,9 +1690,9 @@ QString createFilters( QString type )
myFileFilters += createFileFilter_( QObject::tr( "INTERLIS 2" ), "*.itf *.xml *.ili" );
myExtensions << "itf" << "xml" << "ili";
}
else if ( driverName.startsWith( "INGRES" ) )
else if ( driverName.startsWith( "Ingres" ) )
{
myDatabaseDrivers += QObject::tr( "INGRES" ) + ",INGRES;";
myDatabaseDrivers += QObject::tr( "Ingres" ) + ",Ingres;";
}
else if ( driverName.startsWith( "KML" ) )
{
Expand Down

0 comments on commit f370549

Please sign in to comment.