summaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorGravatar lat9nq2023-07-19 13:45:50 -0400
committerGravatar lat9nq2023-07-21 10:56:55 -0400
commitffb384463f1f12264dbd8ad8827a8b42115921aa (patch)
tree0296fe3ff5919801c8eb670b0f4d9aa581e606ba /src/common/settings.cpp
parentconfigure_system: Use lambda template to group settings (diff)
downloadyuzu-ffb384463f1f12264dbd8ad8827a8b42115921aa.tar.gz
yuzu-ffb384463f1f12264dbd8ad8827a8b42115921aa.tar.xz
yuzu-ffb384463f1f12264dbd8ad8827a8b42115921aa.zip
settings: Remove sorting from log
Unecessary, and would run every time the settings are logged.
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 4c1cd1cac..0e2ccf857 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -108,10 +108,6 @@ void LogSettings() {
108 108
109 LOG_INFO(Config, "yuzu Configuration:"); 109 LOG_INFO(Config, "yuzu Configuration:");
110 for (auto& [category, settings] : values.linkage.by_category) { 110 for (auto& [category, settings] : values.linkage.by_category) {
111 settings.sort([](const BasicSetting* a, const BasicSetting* b) {
112 return a->GetLabel() < b->GetLabel();
113 });
114
115 for (const auto& setting : settings) { 111 for (const auto& setting : settings) {
116 if (setting->Id() == values.yuzu_token.Id()) { 112 if (setting->Id() == values.yuzu_token.Id()) {
117 // Hide the token secret, for security reasons. 113 // Hide the token secret, for security reasons.