Skip to content

Commit

Permalink
Fix item reading for GetPrint (project file format changed between 1.…
Browse files Browse the repository at this point in the history
…8 and 1.9)
  • Loading branch information
Marco Hugentobler committed Sep 6, 2012
1 parent fb84775 commit a88af64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapserver/qgsprojectparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a88af64

Please sign in to comment.