mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fixed compile problem under Qt 3.1.2 related to GDAL driver detection code. Qt 3.1.2 does not support the case sensitive argument to QString::startsWith and QString::endsWith. Removed the second argument. This needs to be revisited if case insensitve detection is truly required.
git-svn-id: http://svn.osgeo.org/qgis/trunk@861 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
8ea53c210d
commit
8023114140
@ -851,7 +851,7 @@ static void buildSupportedRasterFileFilter_(QString & fileFilters)
|
||||
// them appropriately
|
||||
|
||||
// USGS DEMs use "*.dem"
|
||||
if ( driverDescription.startsWith("USGSDEM", false) )
|
||||
if ( driverDescription.startsWith("USGSDEM") )
|
||||
{
|
||||
fileFilters += createFileFilter_(driverLongName, "*.dem");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user