1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 07:43:54 +02:00

static SelectionState::Get()...

... not member functions of AudacityProject
This commit is contained in:
Paul Licameli
2019-01-22 12:06:46 -05:00
parent c1c0030013
commit 68e25f3b7d
10 changed files with 39 additions and 15 deletions

View File

@@ -44,6 +44,7 @@
#include "../LabelTrack.h"
#include "../Project.h"
#include "../Prefs.h"
#include "../SelectionState.h"
#include "../ShuttleGui.h"
#include "../Tags.h"
#include "../WaveTrack.h"
@@ -127,7 +128,7 @@ END_EVENT_TABLE()
ExportMultiple::ExportMultiple(AudacityProject *project)
: wxDialogWrapper(project, wxID_ANY, wxString(_("Export Multiple")))
, mSelectionState{ project->GetSelectionState() }
, mSelectionState{ SelectionState::Get( *project ) }
{
SetName(GetTitle());