Skip to content
Permalink
Browse files
Small cleanup
  • Loading branch information
mhugent committed Nov 23, 2012
1 parent c7f7353 commit dd1d4b5986cff4d98cec4c09bc7a9c3527273109
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/mapserver/qgswmsserver.cpp
@@ -2072,6 +2072,11 @@ void QgsWMSServer::restoreOpacities( QList< QPair< QgsVectorLayer*, QgsFeatureRe
QList< QPair< QgsVectorLayer*, unsigned int> >& vectorOld,
QList < QPair< QgsRasterLayer*, QgsRasterRenderer* > >& rasterRenderers )
{
if ( vectorRenderers.isEmpty() && vectorOld.isEmpty() && rasterRenderers.isEmpty() )
{
return;
}

QList< QPair< QgsVectorLayer*, QgsFeatureRendererV2*> >::iterator vIt = vectorRenderers.begin();
for ( ; vIt != vectorRenderers.end(); ++vIt )
{

0 comments on commit dd1d4b5

Please sign in to comment.