mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Followup ecee438
This commit is contained in:
parent
ecee43814a
commit
4589a807d0
@ -25,6 +25,7 @@
|
||||
#include "qgsrasterlayer.h"
|
||||
#include "qgsrasterdataprovider.h"
|
||||
#include "qgsfontutils.h"
|
||||
#include "qgsproject.h"
|
||||
|
||||
#include <QLocale>
|
||||
#include <QObject>
|
||||
@ -75,6 +76,8 @@ void TestQgsComposerScaleBar::initTestCase()
|
||||
// so we enforce C locale to make sure we get expected result
|
||||
QLocale::setDefault( QLocale::c() );
|
||||
|
||||
QgsProject::instance()->setEllipsoid( "WGS84" );
|
||||
|
||||
mMapSettings = new QgsMapSettings();
|
||||
|
||||
//create maplayers from testdata and add to layer registry
|
||||
|
Loading…
x
Reference in New Issue
Block a user