File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -335,23 +335,17 @@ void QgsRasterLayer::buildSupportedRasterFileFilter(QString & theFileFiltersStri
335
335
theFileFiltersString += " JPEG 2000 (" + glob.lower () + " " + glob.upper () + " );;" ;
336
336
}
337
337
338
- // A number of drivers support JPEG 2000. Add it in for those.
339
- if ( myGdalDriverDescription.startsWith (" MrSID" )
340
- || myGdalDriverDescription.startsWith (" ECW" )
341
- || myGdalDriverDescription.startsWith (" JPEG2000" )
342
- || myGdalDriverDescription.startsWith (" JP2KAK" ) )
343
- {
344
- QString glob = " *.jp2 *.j2k" ;
345
- theFileFiltersString += " JPEG 2000 (" + glob.lower () + " " + glob.upper () + " );;" ;
346
- }
347
-
348
338
myGdalDriverExtension = myGdalDriverLongName = " " ; // reset for next driver
349
339
350
340
} // each loaded GDAL driver
351
341
352
342
// can't forget the default case
353
343
theFileFiltersString += catchallFilter + " All other files (*)" ;
354
344
QgsDebugMsg (" Raster filter list built: " + theFileFiltersString);
345
+
346
+
347
+ std::cerr << theFileFiltersString.toLocal8Bit ().data () << ' \n ' ;
348
+
355
349
} // buildSupportedRasterFileFilter_()
356
350
357
351
You can’t perform that action at this time.
0 commit comments