summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2023-12-05 01:37:21 +0100
committert895 <clombardo169@gmail.com>2023-12-05 01:49:01 +0100
commit5d4da07943f23bd934a39f00bd278d471f1ea9ad (patch)
tree9ea4127c2ab9c76f4368cf0f78811b4285977075 /src
parentMerge pull request #12235 from liamwhite/flip-clip (diff)
downloadyuzu-5d4da07943f23bd934a39f00bd278d471f1ea9ad.tar
yuzu-5d4da07943f23bd934a39f00bd278d471f1ea9ad.tar.gz
yuzu-5d4da07943f23bd934a39f00bd278d471f1ea9ad.tar.bz2
yuzu-5d4da07943f23bd934a39f00bd278d471f1ea9ad.tar.lz
yuzu-5d4da07943f23bd934a39f00bd278d471f1ea9ad.tar.xz
yuzu-5d4da07943f23bd934a39f00bd278d471f1ea9ad.tar.zst
yuzu-5d4da07943f23bd934a39f00bd278d471f1ea9ad.zip
Diffstat (limited to 'src')
-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();
}