Skip to content

Commit 5ddab36

Browse files
committed
Remove leftover code from the 0.7.X.X series of releases
1 parent 102099e commit 5ddab36

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Framework/Modules/Manager/ModulesManager.cpp

-10
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include <yaml-cpp/yaml.h>
44
// The imspinner devs decided to just not include imgui
55
#include <imgui.h>
6-
#include <imgui_internal.h>
76
#ifdef UIMGUI_SPINNERS_MODULE_ENABLED
87
#include "Modules/Spinners/ThirdParty/imspinner/imspinner.h"
98
#endif
@@ -39,12 +38,6 @@ void UImGui::ModulesManager::init(const FString& configDir)
3938
settings.maxTransactions = node["undo-max-transactions"].as<size_t>();
4039

4140
initModules(UImGui_InitInfo_getProjectDir());
42-
43-
// Put this one after we have initialized the locale module
44-
#ifdef UIMGUI_LOCALE_MODULE_ENABLED
45-
if (node["current-locale"])
46-
Locale::getCurrentLayout() = Locale::getLocaleID(node["current-locale"].as<std::string>());
47-
#endif
4841
}
4942

5043
void UImGui::ModulesManager::save(const FString& configDir) const noexcept
@@ -53,9 +46,6 @@ void UImGui::ModulesManager::save(const FString& configDir) const noexcept
5346
out << YAML::BeginMap;
5447

5548
out << YAML::Key << "undo-max-transactions" << YAML::Value << settings.maxTransactions;
56-
#ifdef UIMGUI_LOCALE_MODULE_ENABLED
57-
out << YAML::Key << "current-locale" << YAML::Value << Locale::getLocaleName(Locale::getCurrentLayout());
58-
#endif
5949
out << YAML::EndMap;
6050

6151
std::ofstream fout(configDir + "Core/Modules.yaml");

0 commit comments

Comments
 (0)