settings: Remove sorting from log

Unecessary, and would run every time the settings are logged.
This commit is contained in:
lat9nq 2023-07-19 13:45:50 -04:00
parent b54c3fba68
commit ffb384463f

View File

@ -108,10 +108,6 @@ void LogSettings() {
LOG_INFO(Config, "yuzu Configuration:"); LOG_INFO(Config, "yuzu Configuration:");
for (auto& [category, settings] : values.linkage.by_category) { for (auto& [category, settings] : values.linkage.by_category) {
settings.sort([](const BasicSetting* a, const BasicSetting* b) {
return a->GetLabel() < b->GetLabel();
});
for (const auto& setting : settings) { for (const auto& setting : settings) {
if (setting->Id() == values.yuzu_token.Id()) { if (setting->Id() == values.yuzu_token.Id()) {
// Hide the token secret, for security reasons. // Hide the token secret, for security reasons.