out.diff

patch - Giuseppe Sucameli, 2010-01-18 04:02 PM

Download (768 Bytes)

View differences:

src/core/raster/qgsrasterlayer.cpp (working copy)
360 360
      if ( !( myGdalDriverExtension.isEmpty() || myGdalDriverLongName.isEmpty() ) )
361 361
      {
362 362
        // XXX add check for SDTS; in that case we want (*CATD.DDF)
363
        QString glob = "*." + myGdalDriverExtension;
363
        QString glob = "*." + myGdalDriverExtension.replace( "/", " *." );
364 364
        // Add only the first JP2 driver found to the filter list (it's the one GDAL uses)
365 365
        if ( myGdalDriverDescription == "JPEG2000" ||
366 366
             myGdalDriverDescription.startsWith( "JP2" ) ) // JP2ECW, JP2KAK, JP2MrSID