mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 06:22:58 +02:00
Remove a friend declaration from Project, privatize a pointer member...
... and make implementation of that pointer a smart one.
This commit is contained in:
@@ -226,7 +226,7 @@ void Theme::ApplyUpdatedImages()
|
||||
AudacityProject *p = GetActiveProject();
|
||||
for( int ii = 0; ii < ToolBarCount; ++ii )
|
||||
{
|
||||
ToolBar *pToolBar = p->mToolManager->GetToolBar(ii);
|
||||
ToolBar *pToolBar = p->GetToolManager()->GetToolBar(ii);
|
||||
if( pToolBar )
|
||||
pToolBar->ReCreateButtons();
|
||||
}
|
||||
|
Reference in New Issue
Block a user