From df7670d13626dccd6877687f8aafcac28378069a Mon Sep 17 00:00:00 2001 From: Rodrigo Torres Date: Tue, 17 Aug 2021 22:28:41 -0300 Subject: [PATCH] Fix compilation in old Qt versions --- limereport/lrreportrender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limereport/lrreportrender.cpp b/limereport/lrreportrender.cpp index 58f0bd9..01e7c87 100644 --- a/limereport/lrreportrender.cpp +++ b/limereport/lrreportrender.cpp @@ -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);