From 16e02cb37348b94102ffbb5400436282899dcf01 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Wed, 25 Aug 2021 00:45:39 +0300 Subject: [PATCH] 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 --- src/AutoRecoveryDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AutoRecoveryDialog.cpp b/src/AutoRecoveryDialog.cpp index 4424f53ed..6087bcb2e 100644 --- a/src/AutoRecoveryDialog.cpp +++ b/src/AutoRecoveryDialog.cpp @@ -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);