1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-16 07:47:58 +01:00

Move language setting and event from AudacityApp.h to GUIPrefs.h

This commit is contained in:
Paul Licameli
2019-04-25 16:34:34 -04:00
parent 236c8ed51e
commit 4a4f8ebe4e
6 changed files with 120 additions and 120 deletions

View File

@@ -60,10 +60,10 @@
#include <wx/filename.h>
#include <wx/stdpaths.h>
#include "AudacityApp.h"
#include "FileNames.h"
#include "Languages.h"
#include "prefs/GUIPrefs.h"
#include "widgets/ErrorDialog.h"
std::unique_ptr<AudacityPrefs> ugPrefs {};
@@ -216,7 +216,7 @@ void InitPreferences()
}
}
langCode = wxGetApp().InitLang( langCode );
langCode = GUIPrefs::InitLang( langCode );
// User requested that the preferences be completely reset
if (resetPrefs)