1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-30 16:52:43 +01:00

AutoRecoveryDialog: Rename PopulateOrExchange to Populate

Here it is never called after initial creation, so using the "standard"
method name of PopulateOrExchange, as done in prefs ShuttleAll and co,
is just confusing. Rename it for clarity.

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
Mart Raudsepp
2021-08-25 00:45:39 +03:00
parent fdf15b8366
commit 16e02cb373

View File

@@ -42,7 +42,7 @@ public:
FilePaths GetRecoverables();
private:
void PopulateOrExchange(ShuttleGui &S);
void Populate(ShuttleGui &S);
void PopulateList();
bool HaveChecked();
@@ -79,7 +79,7 @@ AutoRecoveryDialog::AutoRecoveryDialog(AudacityProject *project)
{
SetName();
ShuttleGui S(this, eIsCreating);
PopulateOrExchange(S);
Populate(S);
}
bool AutoRecoveryDialog::HasRecoverables() const
@@ -92,7 +92,7 @@ FilePaths AutoRecoveryDialog::GetRecoverables()
return mFiles;
}
void AutoRecoveryDialog::PopulateOrExchange(ShuttleGui &S)
void AutoRecoveryDialog::Populate(ShuttleGui &S)
{
S.SetBorder(5);
S.StartVerticalLay(wxEXPAND, 1);