mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-25 08:28:06 +03:00
Qt4 build fixed
This commit is contained in:
@@ -1003,8 +1003,14 @@ bool ReportRender::registerBand(BandDesignIntf *band, bool registerInChildren)
|
||||
if (band->isData()) m_renderedDataBandCount++;
|
||||
band->setObjectName(band->objectName()+QString::number(++m_curentNameIndex));
|
||||
renameChildItems(band);
|
||||
if (m_lastDataBand)
|
||||
if (m_lastDataBand){
|
||||
#ifdef HAVE_QT4
|
||||
m_lastDataBand->metaObject()->invokeMethod(m_lastDataBand,"bandRegistred");
|
||||
#endif
|
||||
#ifdef HAVE_QT5
|
||||
emit m_lastDataBand->bandRegistred();
|
||||
#endif
|
||||
}
|
||||
return true;
|
||||
} else return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user