mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
-The default contrast enhancement type when no qsetting value is present (i.e., user override) was incorrectly set to when this functionality was added in revision 8398
git-svn-id: http://svn.osgeo.org/qgis/trunk@8731 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
038dd10280
commit
0f0c711050
@ -536,7 +536,7 @@ bool QgsRasterLayer::readFile( QString const & fileName )
|
||||
//defaults - Needs to be set after the Contrast list has been build
|
||||
//Try to read the default contrast enhancement from the config file
|
||||
QSettings myQSettings;
|
||||
setContrastEnhancementAlgorithm(myQSettings.value("/Raster/defaultContrastEnhancementAlgorithm", "NO_STRETCH").toString());
|
||||
setContrastEnhancementAlgorithm(myQSettings.value("/Raster/defaultContrastEnhancementAlgorithm", "STRETCH_TO_MINMAX").toString());
|
||||
|
||||
//decide what type of layer this is...
|
||||
//note that multiband images can have one or more 'undefindd' bands,
|
||||
|
Loading…
x
Reference in New Issue
Block a user