1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00

Remove AudacityApp::GetLogger() & HelpActions::DoShowLog()

This commit is contained in:
Paul Licameli
2019-04-26 10:20:49 -04:00
parent e845bd9544
commit 8da6529329
7 changed files with 34 additions and 32 deletions

View File

@@ -21,8 +21,6 @@ for each problem encountered, since there can be many orphans.
#include "../Audacity.h"
#include "MultiDialog.h"
#include "../Project.h"
#include <wx/app.h>
#include <wx/button.h>
#include <wx/dialog.h>
@@ -34,7 +32,7 @@ for each problem encountered, since there can be many orphans.
#include <wx/artprov.h>
#include <wx/radiobox.h>
#include "../Menus.h"
#include "../AudacityLogger.h"
#include "wxPanelWrapper.h"
class MultiDialog final : public wxDialogWrapper
@@ -153,8 +151,10 @@ void MultiDialog::OnOK(wxCommandEvent & WXUNUSED(event))
void MultiDialog::OnShowLog(wxCommandEvent & WXUNUSED(event))
{
auto project = GetActiveProject();
HelpActions::DoShowLog(*project);
auto logger = AudacityLogger::Get();
if (logger) {
logger->Show();
}
}