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

@@ -75,14 +75,6 @@ namespace HelpActions {
// exported helper functions
void DoShowLog( AudacityProject & )
{
AudacityLogger *logger = wxGetApp().GetLogger();
if (logger) {
logger->Show();
}
}
void DoHelpWelcome( AudacityProject &project )
{
SplashDialog::Show2( &project );
@@ -135,7 +127,10 @@ void OnMidiDeviceInfo(const CommandContext &context)
void OnShowLog( const CommandContext &context )
{
DoShowLog( context.project );
auto logger = AudacityLogger::Get();
if (logger) {
logger->Show();
}
}
#if defined(EXPERIMENTAL_CRASH_REPORT)