Commit 37286ee2 authored by Pino Toscano's avatar Pino Toscano

qt4/qt5: fix some kinds of OCG models

properly pass parent and child when building the tree
parent a2f0e4b1
......@@ -172,7 +172,7 @@ namespace Poppler
while ( i.hasNext() ) {
i.next();
qDebug() << "iterator" << i.key() << ":" << i.value();
addChild( i.value(), m_rootNode );
addChild( m_rootNode, i.value() );
}
} else {
parseOrderArray( m_rootNode, optContent->getOrderArray() );
......
......@@ -172,7 +172,7 @@ namespace Poppler
while ( i.hasNext() ) {
i.next();
qDebug() << "iterator" << i.key() << ":" << i.value();
addChild( i.value(), m_rootNode );
addChild( m_rootNode, i.value() );
}
} else {
parseOrderArray( m_rootNode, optContent->getOrderArray() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment