[QGIS Commit] r14376 - trunk/qgis/src/app/legend
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Oct 13 16:52:05 EDT 2010
Author: jef
Date: 2010-10-13 13:52:05 -0700 (Wed, 13 Oct 2010)
New Revision: 14376
Modified:
trunk/qgis/src/app/legend/qgslegendlayer.cpp
Log:
fix #3110
Modified: trunk/qgis/src/app/legend/qgslegendlayer.cpp
===================================================================
--- trunk/qgis/src/app/legend/qgslegendlayer.cpp 2010-10-13 19:41:02 UTC (rev 14375)
+++ trunk/qgis/src/app/legend/qgslegendlayer.cpp 2010-10-13 20:52:05 UTC (rev 14376)
@@ -253,13 +253,13 @@
{
img = ( *it )->getLineSymbolAsImage();
}
- else if (( *it )->type() == QGis::Line )//polygon
+ else if (( *it )->type() == QGis::Polygon )
{
img = ( *it )->getPolygonSymbolAsImage();
}
- else //must be a layer without geometry then
+ else
{
-
+ // must be a layer without geometry then
}
QString values;
More information about the QGIS-commit
mailing list