Skip to content

Commit de918fd

Browse files
committedMay 18, 2020
Fix tests
1 parent f55de3c commit de918fd

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed
 

‎python/core/auto_generated/qgstemporalutils.sip.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ returns the maximal combined temporal extent of these layers.
4141

4242
QString fileNameTemplate;
4343

44+
QList<QgsMapDecoration *> decorations;
45+
4446
};
4547

4648
static bool exportAnimation( const QgsMapSettings &mapSettings, const AnimationExportSettings &settings, QString &error /Out/, QgsFeedback *feedback = 0 );

‎src/app/qgisapp.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,8 +2121,8 @@ const QList<QgsVectorLayerRef> QgisApp::findBrokenLayerDependencies( QgsVectorLa
21212121
! dependency.layerId.isEmpty() )
21222122
{
21232123
const QgsVectorLayer *depVl { QgsVectorLayerRef( dependency ).resolveWeakly(
2124-
QgsProject::instance(),
2125-
QgsVectorLayerRef::MatchType::Name ) };
2124+
QgsProject::instance(),
2125+
QgsVectorLayerRef::MatchType::Name ) };
21262126
if ( ! depVl || ! depVl->isValid() )
21272127
{
21282128
brokenDependencies.append( dependency );
@@ -2272,8 +2272,8 @@ void QgisApp::resolveVectorLayerDependencies( QgsVectorLayer *vl, QgsMapLayer::S
22722272
if ( ! loaded )
22732273
{
22742274
const QString msg { tr( "layer '%1' requires layer '%2' to be loaded but '%2' could not be found, please load it manually if possible." )
2275-
.arg( vl->name() )
2276-
.arg( dependency.name ) };
2275+
.arg( vl->name() )
2276+
.arg( dependency.name ) };
22772277
messageBar()->pushWarning( tr( "Missing layer form dependency" ), msg );
22782278
}
22792279
else
@@ -7535,7 +7535,7 @@ QList< QgsDecorationItem * > QgisApp::activeDecorationItems()
75357535
decorations << decoration;
75367536
}
75377537
}
7538-
return decorations;
7538+
return decorations;
75397539
}
75407540
void QgisApp::saveMapAsImage()
75417541
{

‎src/app/qgsanimationexportdialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class APP_EXPORT QgsAnimationExportDialog: public QDialog, private Ui::QgsAnimat
4444
/**
4545
* Constructor for QgsAnimationExportDialog
4646
*/
47-
QgsAnimationExportDialog( QWidget *parent = nullptr,
47+
QgsAnimationExportDialog( QWidget *parent = nullptr,
4848
QgsMapCanvas *mapCanvas = nullptr,
4949
const QList< QgsDecorationItem * > &decorations = QList< QgsDecorationItem * >() );
5050

‎src/core/qgstemporalutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ bool QgsTemporalUtils::exportAnimation( const QgsMapSettings &mapSettings, const
119119
QgsMapRendererCustomPainterJob job( ms, &p );
120120
job.start();
121121
job.waitForFinished();
122-
122+
123123
QgsRenderContext context = QgsRenderContext::fromMapSettings( ms );
124124
context.setPainter( &p );
125125

‎src/core/qgstemporalutils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class CORE_EXPORT QgsTemporalUtils
6565
* e.g. my###.jpg will create frames my001.jpg, my002.jpg, etc
6666
*/
6767
QString fileNameTemplate;
68-
68+
6969
//! List of decorations to draw onto exported frames.
7070
QList<QgsMapDecoration *> decorations;
7171

0 commit comments

Comments
 (0)
Please sign in to comment.