Skip to content
Permalink
Browse files

Fix Ingres driver name so it is recognized.

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 f370549fb31d80f2986d17116e43ab076d6769c7
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/ogr/qgsogrprovider.cpp
@@ -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" ) )
{

0 comments on commit f370549

Please sign in to comment.
You can’t perform that action at this time.