7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 09:01:42 +00:00

SCH_RENDER_SETTINGS: Remove duplicate electrical type setting

This class had m_ShowPinsElectricalType and m_ShowPinElectricalTypes.
Nearly everything used the former, only one callsite used the latter,
which would never have been changed.
This commit is contained in:
John Beard 2024-10-22 22:45:32 +08:00
parent bb43a5047e
commit 884530e699
3 changed files with 1 additions and 3 deletions

View File

@ -568,7 +568,7 @@ void SCH_PIN::Print( const SCH_RENDER_SETTINGS* aSettings, int aUnit, int aBodyS
aSettings->m_ShowPinNames || part->GetShowPinNames(),
aDimmed );
if( aSettings->m_ShowPinElectricalTypes )
if( aSettings->m_ShowPinsElectricalType )
printPinElectricalTypeName( aSettings, pos1, orient, aDimmed );
if( aSettings->m_ShowConnectionPoints

View File

@ -40,7 +40,6 @@ SCH_RENDER_SETTINGS::SCH_RENDER_SETTINGS() :
m_ShowVisibleFields( true ),
m_ShowPinNumbers( false ),
m_ShowPinNames( false ),
m_ShowPinElectricalTypes( false ),
m_ShowPinAltIcons( false ),
m_ShowDisabled( false ),
m_ShowGraphicsDisabled( false ),

View File

@ -86,7 +86,6 @@ public:
bool m_ShowVisibleFields;
bool m_ShowPinNumbers; // Force showing of pin numbers (normally symbol-specific)
bool m_ShowPinNames; // Force showing of pin names (normally symbol-specific)
bool m_ShowPinElectricalTypes;
bool m_ShowPinAltIcons;
bool m_ShowDisabled;
bool m_ShowGraphicsDisabled;