Skip to content
Permalink
Browse files
apply patch from mloskot (from #1249)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9197 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 27, 2008
1 parent 2e39c73 commit 96933dd6c9f8c5d53b7b03779e37400758238392
Showing with 2 additions and 8 deletions.
  1. +1 −4 src/plugins/ogr_converter/dialog.cpp
  2. +1 −4 src/plugins/ogr_converter/translator.cpp
@@ -138,10 +138,7 @@ namespace qgis
QStringList drvDstList;
QString drvName;

if ( 0 >= OGRGetDriverCount() )
{
QgsApplication::registerOgrDrivers();
}
QgsApplication::registerOgrDrivers();
int const drvCount = OGRGetDriverCount();

for ( int i = 0; i < drvCount; ++i )
@@ -316,10 +316,7 @@ namespace qgis

OGRSFDriverH Translator::findDriver( QString const& name )
{
if ( OGRGetDriverCount() <= 0 )
{
QgsApplication::registerOgrDrivers();
}
QgsApplication::registerOgrDrivers();
int const drvCount = OGRGetDriverCount();

OGRSFDriverH drv = 0;

0 comments on commit 96933dd

Please sign in to comment.