Skip to content

Commit

Permalink
Followup ecee438
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 18, 2016
1 parent ecee438 commit 4589a80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/core/testqgscomposerscalebar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "qgsrasterlayer.h"
#include "qgsrasterdataprovider.h"
#include "qgsfontutils.h"
#include "qgsproject.h"

#include <QLocale>
#include <QObject>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4589a80

Please sign in to comment.