Remove some references to g_UserUnit

(cherry picked from commit 614d832)
This commit is contained in:
Jeff Young
2018-07-17 15:09:56 +01:00
parent 74acb76e7f
commit a39fb03822
29 changed files with 433 additions and 518 deletions
+1 -1
View File
@@ -832,7 +832,7 @@ int GERBVIEW_SELECTION_TOOL::MeasureTool( const TOOL_EVENT& aEvent )
_( "Measure distance" ) );
KIGFX::PREVIEW::TWO_POINT_GEOMETRY_MANAGER twoPtMgr;
KIGFX::PREVIEW::RULER_ITEM ruler( twoPtMgr );
KIGFX::PREVIEW::RULER_ITEM ruler( twoPtMgr, m_frame->GetUserUnits() );
view.Add( &ruler );
view.SetVisible( &ruler, false );