Formatting and include cleanup.
This commit is contained in:
parent
31d7a0a8d1
commit
9f51f7b055
|
@ -26,10 +26,8 @@
|
|||
#include <footprint_info.h>
|
||||
#include <fp_lib_table.h>
|
||||
#include <dialogs/html_messagebox.h>
|
||||
#include <io_mgr.h>
|
||||
#include <kicad_string.h>
|
||||
#include <locale_io.h>
|
||||
#include <kiface_ids.h>
|
||||
#include <kiway.h>
|
||||
#include <lib_id.h>
|
||||
#include <wildcards_and_files_ext.h>
|
||||
|
@ -39,7 +37,6 @@
|
|||
#include <wx/wfstream.h>
|
||||
|
||||
#include <thread>
|
||||
#include <mutex>
|
||||
|
||||
|
||||
void FOOTPRINT_INFO_IMPL::load()
|
||||
|
@ -103,10 +100,11 @@ void FOOTPRINT_LIST_IMPL::loader_job()
|
|||
|
||||
while( m_queue_in.pop( nickname ) && !m_cancelled )
|
||||
{
|
||||
CatchErrors( [this, &nickname]() {
|
||||
m_lib_table->PrefetchLib( nickname );
|
||||
m_queue_out.push( nickname );
|
||||
} );
|
||||
CatchErrors( [this, &nickname]()
|
||||
{
|
||||
m_lib_table->PrefetchLib( nickname );
|
||||
m_queue_out.push( nickname );
|
||||
} );
|
||||
|
||||
m_count_finished.fetch_add( 1 );
|
||||
|
||||
|
|
|
@ -385,7 +385,7 @@ public:
|
|||
* @throw IO_ERROR if there is an error prefetching the library.
|
||||
*/
|
||||
virtual void PrefetchLib( const wxString& aLibraryPath,
|
||||
const PROPERTIES* aProperties = nullptr );
|
||||
const PROPERTIES* aProperties = nullptr );
|
||||
|
||||
/**
|
||||
* Load a footprint having @a aFootprintName from the @a aLibraryPath containing a library
|
||||
|
|
|
@ -36,12 +36,9 @@
|
|||
#include <pcb_edit_frame.h>
|
||||
#include <eda_dde.h>
|
||||
#include <macros.h>
|
||||
#include <wx/file.h>
|
||||
#include <wx/log.h>
|
||||
#include <wx/snglinst.h>
|
||||
#include <gestfich.h>
|
||||
#include <paths.h>
|
||||
#include <pcbnew.h>
|
||||
#include <pcbnew_settings.h>
|
||||
#include <settings/settings_manager.h>
|
||||
#include <class_draw_panel_gal.h>
|
||||
|
@ -52,7 +49,6 @@
|
|||
#include <footprint_preview_panel.h>
|
||||
#include <footprint_info_impl.h>
|
||||
#include <dialogs/dialog_configure_paths.h>
|
||||
#include <paths.h>
|
||||
#include <python_scripting.h>
|
||||
|
||||
#include "invoke_pcb_dialog.h"
|
||||
|
|
Loading…
Reference in New Issue