Skip to content
Permalink
Browse files
Merge pull request #1057 from elpaso/master
Fix #9306
  • Loading branch information
jef-n committed Jan 7, 2014
2 parents 0b10498 + 6eb72c7 commit 8215183
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 8215183

Please sign in to comment.