Skip to content

Commit 4589a80

Browse files
committedOct 18, 2016
Followup ecee438
1 parent ecee438 commit 4589a80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎tests/src/core/testqgscomposerscalebar.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "qgsrasterlayer.h"
2626
#include "qgsrasterdataprovider.h"
2727
#include "qgsfontutils.h"
28+
#include "qgsproject.h"
2829

2930
#include <QLocale>
3031
#include <QObject>
@@ -75,6 +76,8 @@ void TestQgsComposerScaleBar::initTestCase()
7576
// so we enforce C locale to make sure we get expected result
7677
QLocale::setDefault( QLocale::c() );
7778

79+
QgsProject::instance()->setEllipsoid( "WGS84" );
80+
7881
mMapSettings = new QgsMapSettings();
7982

8083
//create maplayers from testdata and add to layer registry

0 commit comments

Comments
 (0)
Please sign in to comment.