We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3cfb78 commit 29b72b4Copy full SHA for 29b72b4
src/plugins/ogr_converter/dialog.cpp
@@ -138,10 +138,7 @@ namespace qgis
138
QStringList drvDstList;
139
QString drvName;
140
141
- if ( 0 >= OGRGetDriverCount() )
142
- {
143
- QgsApplication::registerOgrDrivers();
144
- }
+ QgsApplication::registerOgrDrivers();
145
int const drvCount = OGRGetDriverCount();
146
147
for ( int i = 0; i < drvCount; ++i )
src/plugins/ogr_converter/translator.cpp
@@ -316,10 +316,7 @@ namespace qgis
316
317
OGRSFDriverH Translator::findDriver( QString const& name )
318
{
319
- if ( OGRGetDriverCount() <= 0 )
320
321
322
323
324
325
OGRSFDriverH drv = 0;
0 commit comments