mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Fix compil issue on Linux
This commit is contained in:
parent
05c414c816
commit
8781f46d76
@ -591,7 +591,7 @@ void FOOTPRINT_EDIT_FRAME::SaveSettings( APP_SETTINGS_BASE* aCfg )
|
||||
|
||||
EDA_ANGLE FOOTPRINT_EDIT_FRAME::GetRotationAngle() const
|
||||
{
|
||||
FOOTPRINT_EDITOR_SETTINGS* cfg = GetSettings();
|
||||
FOOTPRINT_EDITOR_SETTINGS* cfg = const_cast<FOOTPRINT_EDIT_FRAME*>( this )->GetSettings();
|
||||
|
||||
return cfg ? cfg->m_RotationAngle : ANGLE_90;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user