From 7bb280ea39e813e09a49e18e2a6050bfc79736aa Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 18 May 2020 23:58:30 +0100 Subject: [PATCH] General cleanup. --- eeschema/sch_edit_frame.cpp | 1 - pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp | 1 - pcbnew/dialogs/panel_setup_netclasses.cpp | 2 +- pcbnew/legacy_plugin.cpp | 2 -- 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/eeschema/sch_edit_frame.cpp b/eeschema/sch_edit_frame.cpp index b76782d7f9..f67d75b2de 100644 --- a/eeschema/sch_edit_frame.cpp +++ b/eeschema/sch_edit_frame.cpp @@ -1199,7 +1199,6 @@ void SCH_EDIT_FRAME::FocusOnItem( SCH_ITEM* aItem ) RefreshItem( aItem ); lastBrightenedItemID = aItem->m_Uuid; - // JEY TODO: test this with pins and fields (and with rotated symbols) .... FocusOnLocation( aItem->GetFocusPosition() ); } } diff --git a/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp b/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp index 963a243ff4..1a586f1d42 100644 --- a/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp +++ b/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp @@ -247,7 +247,6 @@ DIALOG_PAD_PRIMITIVE_POLY_PROPS::DIALOG_PAD_PRIMITIVE_POLY_PROPS( wxWindow* aPar m_sdbSizerOK->SetDefault(); GetSizer()->SetSizeHints( this ); - // TODO: move wxEVT_GRID_CELL_CHANGING in wxFormbuilder, when it support it m_gridCornersList->Connect( wxEVT_GRID_CELL_CHANGING, wxGridEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS::onCellChanging ), NULL, this ); // Now all widgets have the size fixed, call FinishDialogSettings diff --git a/pcbnew/dialogs/panel_setup_netclasses.cpp b/pcbnew/dialogs/panel_setup_netclasses.cpp index fe6c014fbd..1304de1037 100644 --- a/pcbnew/dialogs/panel_setup_netclasses.cpp +++ b/pcbnew/dialogs/panel_setup_netclasses.cpp @@ -146,7 +146,7 @@ static void netclassToGridRow( EDA_UNITS aUnits, wxGrid* aGrid, int aRow, const SET_MILS_CELL( GRID_uVIADRILL, nc->GetuViaDrill() ); SET_MILS_CELL( GRID_DIFF_PAIR_WIDTH, nc->GetDiffPairWidth() ); SET_MILS_CELL( GRID_DIFF_PAIR_GAP, nc->GetDiffPairGap() ); - // 6.0 TODO: SET_MILS_CELL( GRID_DIFF_PAIR_VIA_GAP, nc->GetDiffPairViaGap() ); + SET_MILS_CELL( GRID_DIFF_PAIR_VIA_GAP, nc->GetDiffPairViaGap() ); } diff --git a/pcbnew/legacy_plugin.cpp b/pcbnew/legacy_plugin.cpp index d5c1efb4d8..d59e352749 100644 --- a/pcbnew/legacy_plugin.cpp +++ b/pcbnew/legacy_plugin.cpp @@ -1735,8 +1735,6 @@ void LEGACY_PLUGIN::loadMODULE_EDGE( MODULE* aModule ) // Check for a reasonable layer: // m_Layer must be >= FIRST_NON_COPPER_LAYER, but because microwave footprints // can use the copper layers m_Layer < FIRST_NON_COPPER_LAYER is allowed. - // @todo: changes use of EDGE_MODULE these footprints and allows only - // m_Layer >= FIRST_NON_COPPER_LAYER if( layer < FIRST_LAYER || layer > LAST_NON_COPPER_LAYER ) layer = SILKSCREEN_N_FRONT;