MCPcopy Create free account
hub / github.com/audacity/audacity / Undock

Method Undock

src/toolbars/ToolDock.cpp:426–433  ·  view source on GitHub ↗

Remove the toolbar from our control

Source from the content-addressed store, hash-verified

424// Remove the toolbar from our control
425//
426void ToolDock::Undock( ToolBar *bar )
427{
428 if( mConfiguration.Contains( bar ) )
429 {
430 mConfiguration.Remove( bar );
431 }
432 mBars[ bar->GetSection() ] = nullptr;
433}
434
435//
436// Handle ToolDock events

Callers 1

ResetMethod · 0.80

Calls 3

GetSectionMethod · 0.80
ContainsMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected