Skip to content

Commit

Permalink
fix a warning
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9021 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 7, 2008
1 parent 23bf2a3 commit ef023cb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/app/legend/qgslegendlayer.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit ef023cb

Please sign in to comment.