Skip to content
Permalink
Browse files
fix a warning
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9021 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 7, 2008
1 parent e7ff164 commit 12b058b7becf25cb745662b9c6deb1911e1507a6
Showing with 3 additions and 6 deletions.
  1. +3 −6 src/app/legend/qgslegendlayer.cpp
@@ -460,15 +460,12 @@ QPixmap QgsLegendLayer::getOriginalPixmap() const
QPixmap myPixmap(32,32);
rlayer->drawThumbnail(&myPixmap);
return myPixmap;

}
else // undefined - should never reach this
{
return QgisApp::getThemePixmap("/mIconLayer.png");
}
}
}

// undefined - should never reach this
return QgisApp::getThemePixmap("/mIconLayer.png");
}

void QgsLegendLayer::addToPopupMenu(QMenu& theMenu, QAction* toggleEditingAction)
{

0 comments on commit 12b058b

Please sign in to comment.