mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 08:06:32 +01:00
Stack-allocate where possible! ...
... Removed many unnecessary naked news and deletes.
This commit is contained in:
@@ -310,15 +310,12 @@ ImportFileHandle *FFmpegImportPlugin::Open(wxString filename)
|
||||
if (!FFmpegLibsInst->ValidLibsLoaded())
|
||||
{
|
||||
int dontShowDlg;
|
||||
FFmpegNotFoundDialog *dlg;
|
||||
gPrefs->Read(wxT("/FFmpeg/NotFoundDontShow"),&dontShowDlg,0);
|
||||
if (dontShowDlg == 0 && newsession)
|
||||
{
|
||||
gPrefs->Write(wxT("/NewImportingSession"), false);
|
||||
gPrefs->Flush();
|
||||
dlg = new FFmpegNotFoundDialog(NULL);
|
||||
dlg->ShowModal();
|
||||
delete dlg;
|
||||
FFmpegNotFoundDialog{ nullptr }.ShowModal();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user