Fix qt warning

This commit is contained in:
Nyall Dawson 2018-11-28 18:35:15 +10:00
parent 8ea3889368
commit 90a9cdabaf

View File

@ -545,7 +545,7 @@ QgsLayoutExporter::ExportResult QgsLayoutExporter::exportToPdf( QgsAbstractLayou
if ( total > 0 )
feedback->setProperty( "progress", QObject::tr( "Exporting %1 of %2" ).arg( i + 1 ).arg( total ) );
else
feedback->setProperty( "progress", QObject::tr( "Exporting section %1" ).arg( i + 1 ).arg( total ) );
feedback->setProperty( "progress", QObject::tr( "Exporting section %1" ).arg( i + 1 ) );
feedback->setProgress( step * i );
}
if ( feedback && feedback->isCanceled() )