mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-22 15:38:02 +02:00
Split AudacityApp::OnInit() into two parts
This commit is contained in:
parent
596032c42f
commit
2cce830601
@ -1269,6 +1269,11 @@ bool AudacityApp::OnInit()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return InitPart2();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool AudacityApp::InitPart2()
|
||||||
|
{
|
||||||
// Make sure the temp dir isn't locked by another process.
|
// Make sure the temp dir isn't locked by another process.
|
||||||
{
|
{
|
||||||
auto key =
|
auto key =
|
||||||
|
@ -43,6 +43,7 @@ class AudacityApp final : public wxApp {
|
|||||||
AudacityApp();
|
AudacityApp();
|
||||||
~AudacityApp();
|
~AudacityApp();
|
||||||
bool OnInit(void) override;
|
bool OnInit(void) override;
|
||||||
|
bool InitPart2();
|
||||||
int OnExit(void) override;
|
int OnExit(void) override;
|
||||||
void OnFatalException() override;
|
void OnFatalException() override;
|
||||||
bool OnExceptionInMainLoop() override;
|
bool OnExceptionInMainLoop() override;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user