We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0099b6e commit d5d553fCopy full SHA for d5d553f
src/core/layout/qgsabstractreportsection.cpp
@@ -39,9 +39,6 @@ QgsProject *QgsAbstractReportSection::project()
39
QgsAbstractReportSection *current = this;
40
while ( QgsAbstractReportSection *parent = current->parentSection() )
41
{
42
- if ( !parent )
43
- return nullptr;
44
-
45
if ( QgsReport *report = dynamic_cast< QgsReport * >( parent ) )
46
return report->layoutProject();
47
0 commit comments