Skip to content
Browse files
-The default contrast enhancement type when no qsetting value is pres…
…ent (i.e., user override) was incorrectly set to when this functionality was added in revision 8398

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
ersts committed Jul 8, 2008
1 parent 038dd10 commit 0f0c711
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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,

0 comments on commit 0f0c711

Please sign in to comment.