mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Add cheat to ensure that tiff items are always shown as single layer
items in browser rather than containers This isn't strictly true, but this is a cheat to ensure that the behaviour isn't changed by a semi-related fix
This commit is contained in:
parent
01f8ac83f8
commit
056ff20591
@ -668,7 +668,13 @@ QStringList QgsGdalUtils::multiLayerFileExtensions()
|
||||
const QStringList splitExtensions = driverExtensions.split( ' ', Qt::SkipEmptyParts );
|
||||
|
||||
for ( const QString &ext : splitExtensions )
|
||||
{
|
||||
// maintain older behavior -- don't always expose tiff files as containers
|
||||
if ( ext == QLatin1String( "tif" ) || ext == QLatin1String( "tiff" ) )
|
||||
continue;
|
||||
|
||||
extensions.insert( ext );
|
||||
}
|
||||
}
|
||||
|
||||
SUPPORTED_DB_LAYERS_EXTENSIONS = QStringList( extensions.constBegin(), extensions.constEnd() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user