Followup ecee438

This commit is contained in:
Nyall Dawson 2016-10-18 12:38:31 +10:00
parent ecee43814a
commit 4589a807d0

View File

@ -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