summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-12-05 04:45:08 +0100
committerGitHub <noreply@github.com>2023-12-05 04:45:08 +0100
commit8e0e066c3f2e5b1143bb08f45dce59f71cc54040 (patch)
tree9ea4127c2ab9c76f4368cf0f78811b4285977075
parentMerge pull request #12235 from liamwhite/flip-clip (diff)
parentfrontend_common: Use optional for language default (diff)
downloadyuzu-8e0e066c3f2e5b1143bb08f45dce59f71cc54040.tar
yuzu-8e0e066c3f2e5b1143bb08f45dce59f71cc54040.tar.gz
yuzu-8e0e066c3f2e5b1143bb08f45dce59f71cc54040.tar.bz2
yuzu-8e0e066c3f2e5b1143bb08f45dce59f71cc54040.tar.lz
yuzu-8e0e066c3f2e5b1143bb08f45dce59f71cc54040.tar.xz
yuzu-8e0e066c3f2e5b1143bb08f45dce59f71cc54040.tar.zst
yuzu-8e0e066c3f2e5b1143bb08f45dce59f71cc54040.zip
-rw-r--r--src/yuzu/configuration/qt_config.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/configuration/qt_config.cpp b/src/yuzu/configuration/qt_config.cpp
index 5a8e69aa9..636c5e640 100644
--- a/src/yuzu/configuration/qt_config.cpp
+++ b/src/yuzu/configuration/qt_config.cpp
@@ -225,7 +225,8 @@ void QtConfig::ReadPathValues() {
UISettings::values.recent_files =
QString::fromStdString(ReadStringSetting(std::string("recentFiles")))
.split(QStringLiteral(", "), Qt::SkipEmptyParts, Qt::CaseSensitive);
- UISettings::values.language = ReadStringSetting(std::string("language"), std::string(""));
+ UISettings::values.language =
+ ReadStringSetting(std::string("language"), std::make_optional(std::string("")));
EndGroup();
}