Fix compilation in old Qt versions

This commit is contained in:
Rodrigo Torres 2021-08-17 22:28:41 -03:00
parent bf7e26bc0d
commit df7670d136

View File

@ -1352,7 +1352,7 @@ void ReportRender::cutGroups()
m_popupedExpression.clear();
m_popupedValues.clear();
//foreach(BandDesignIntf* groupBand,m_childBands.keys()){
for(BandDesignIntf* groupBand : m_childBands.keys()){
foreach(BandDesignIntf* groupBand, m_childBands.keys()){
if (m_childBands.value(groupBand)->tryToKeepTogether()){
foreach(BandDesignIntf* band, *m_childBands.value(groupBand)){
m_renderPageItem->removeBand(band);