mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 08:27:13 +01:00
Implement member functions of classes in corresponding .cpp files...
... in four cases; not in some other .cpp file. This is another move that causes the generated graph to reflect dependencies correctly. This fixes other large, hidden cycles that involved PrefsDialog.cpp: there was link dependency on that when PrefsPanel.h was used for the base class. No longer. Also cycles involving TrackPanel.cpp, which contained the default implementations for TrackPanelCell and related abstract base classes.
This commit is contained in:
@@ -1512,7 +1512,7 @@ bool AudacityApp::OnInit()
|
||||
CommandManager::SetMenuHook( [](const CommandID &id){
|
||||
if (::wxGetMouseState().ShiftDown()) {
|
||||
// Only want one page of the preferences
|
||||
PrefsDialog::Factories factories;
|
||||
PrefsPanel::Factories factories;
|
||||
factories.push_back(KeyConfigPrefsFactory( id ));
|
||||
const auto pProject = GetActiveProject();
|
||||
auto pWindow = FindProjectFrame( pProject );
|
||||
@@ -1651,7 +1651,7 @@ bool AudacityApp::InitTempDir()
|
||||
}
|
||||
|
||||
// Only want one page of the preferences
|
||||
PrefsDialog::Factories factories;
|
||||
PrefsPanel::Factories factories;
|
||||
factories.push_back(DirectoriesPrefsFactory());
|
||||
GlobalPrefsDialog dialog(nullptr, nullptr, factories);
|
||||
dialog.ShowModal();
|
||||
|
||||
Reference in New Issue
Block a user