1
0
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:
Paul Licameli
2016-04-11 14:40:13 -04:00
parent 76b66e05dd
commit f9da767cbd
5 changed files with 24 additions and 26 deletions

View File

@@ -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();
}