[QGIS Commit] r9204 - trunk/qgis/src/core/raster
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Aug 28 17:37:58 EDT 2008
Author: jef
Date: 2008-08-28 17:37:58 -0400 (Thu, 28 Aug 2008)
New Revision: 9204
Modified:
trunk/qgis/src/core/raster/qgsrasterlayer.cpp
Log:
fix comparison
Modified: trunk/qgis/src/core/raster/qgsrasterlayer.cpp
===================================================================
--- trunk/qgis/src/core/raster/qgsrasterlayer.cpp 2008-08-28 15:27:55 UTC (rev 9203)
+++ trunk/qgis/src/core/raster/qgsrasterlayer.cpp 2008-08-28 21:37:58 UTC (rev 9204)
@@ -3725,7 +3725,7 @@
myColorRampItem.color = QColor::fromRgb(myColorEntry->c1, myColorEntry->c1, myColorEntry->c1, myColorEntry->c4);
theList->append(myColorRampItem);
}
- else if(myColorInterpretation = GCI_PaletteIndex)
+ else if(myColorInterpretation == GCI_PaletteIndex)
{
QgsColorRampShader::ColorRampItem myColorRampItem;
myColorRampItem.label = "";
More information about the QGIS-commit
mailing list