We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent ecee438 commit 4589a80Copy full SHA for 4589a80
tests/src/core/testqgscomposerscalebar.cpp
@@ -25,6 +25,7 @@
25
#include "qgsrasterlayer.h"
26
#include "qgsrasterdataprovider.h"
27
#include "qgsfontutils.h"
28
+#include "qgsproject.h"
29
30
#include <QLocale>
31
#include <QObject>
@@ -75,6 +76,8 @@ void TestQgsComposerScaleBar::initTestCase()
75
76
// so we enforce C locale to make sure we get expected result
77
QLocale::setDefault( QLocale::c() );
78
79
+ QgsProject::instance()->setEllipsoid( "WGS84" );
80
+
81
mMapSettings = new QgsMapSettings();
82
83
//create maplayers from testdata and add to layer registry
0 commit comments