mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +02: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:
parent
fdf15b8366
commit
16e02cb373
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user