Skip to content
Permalink
Browse files
Fix #9306
  • Loading branch information
elpaso committed Jan 7, 2014
1 parent 0b10498 commit 6eb72c7
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2174,7 +2174,7 @@ void QgsWMSServer::applyOpacities( const QStringList& layerList, QList< QPair< Q
QList< QPair< QgsMapLayer*, int > > layerOpacityList;
QStringList::const_iterator oIt = opacityList.constBegin();
QStringList::const_iterator lIt = layerList.constBegin();
for ( ; oIt != opacityList.constEnd(); ++oIt, ++lIt )
for ( ; oIt != opacityList.constEnd() && lIt != layerList.constEnd(); ++oIt, ++lIt )
{
//get layer list for
int opacity = oIt->toInt();

0 comments on commit 6eb72c7

Please sign in to comment.