summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
}