mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Lower functions from ProjectManager to ProjectFileManager...
... not improving the dependency graph, but it's a more sensible division of duties, keeping related functions together.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include "../Audacity.h"
|
||||
#include "ImportExportCommands.h"
|
||||
|
||||
#include "../ProjectManager.h"
|
||||
#include "../ProjectFileManager.h"
|
||||
#include "../ViewInfo.h"
|
||||
#include "../export/Export.h"
|
||||
#include "../Shuttle.h"
|
||||
@@ -41,7 +41,7 @@ void ImportCommand::PopulateOrExchange(ShuttleGui & S)
|
||||
}
|
||||
|
||||
bool ImportCommand::Apply(const CommandContext & context){
|
||||
return ProjectManager::Get( context.project ).Import(mFileName);
|
||||
return ProjectFileManager::Get( context.project ).Import(mFileName);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user