Skip to content
Permalink
Browse files

Fix item reading for GetPrint (project file format changed between 1.…

…8 and 1.9)
  • Loading branch information
Marco Hugentobler
Marco Hugentobler committed Sep 6, 2012
1 parent fb84775 commit a88af64eeb5a5cd8db7881c6a9737a4301ad3a51
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mapserver/qgsprojectparser.cpp
@@ -1170,7 +1170,7 @@ QgsComposition* QgsProjectParser::initComposition( const QString& composerTempla
}

//go through all the item elements and add them to the composition (and to the lists)
QDomNodeList itemNodes = composerElem.childNodes();
QDomNodeList itemNodes = compositionElem.childNodes();
for ( int i = 0; i < itemNodes.size(); ++i )
{
QDomElement currentElem = itemNodes.at( i ).toElement();

0 comments on commit a88af64

Please sign in to comment.
You can’t perform that action at this time.