Skip to content

Commit

Permalink
Fix for showing incorrect symbol type when creating legend entries fo…
Browse files Browse the repository at this point in the history
…llowing recent api updates

git-svn-id: http://svn.osgeo.org/qgis/trunk@9494 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 19, 2008
1 parent a8daacf commit a896fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/legend/qgslegendlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ QPixmap QgsLegendLayer::getOriginalPixmap() const
if ( firstLayer->type() == QgsMapLayer::VectorLayer )
{
QgsVectorLayer* vlayer = dynamic_cast<QgsVectorLayer*>( firstLayer );
switch ( vlayer->type() )
switch ( vlayer->geometryType() )
{
case QGis::Point:
return QgisApp::getThemePixmap( "/mIconPointLayer.png" );
Expand Down

0 comments on commit a896fee

Please sign in to comment.