Skip to content
Permalink
Browse files
Small cleanup
  • Loading branch information
mhugent committed Nov 23, 2012
1 parent c7f7353 commit dd1d4b5
Showing 1 changed file with 5 additions and 0 deletions.
@@ -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.