1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-07 23:07:45 +02:00

Remove the naked new in allocation of AudacityProject

This commit is contained in:
Paul Licameli
2016-08-14 11:41:59 -04:00
parent 3d84c0d17e
commit fe5ab9a462
11 changed files with 100 additions and 56 deletions

View File

@@ -300,7 +300,7 @@ void DeviceManager::Rescan()
// Hosts may have disappeared or appeared so a complete repopulate is needed.
if (m_inited) {
DeviceToolBar *dt;
for (size_t i = 0; i < gAudacityProjects.GetCount(); i++) {
for (size_t i = 0; i < gAudacityProjects.size(); i++) {
dt = gAudacityProjects[i]->GetDeviceToolBar();
dt->RefillCombos();
}