mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-16 06:32:56 +00:00
Merge pull request #12283 from t895/language-troubles
frontend_common: Use optional for language default
This commit is contained in:
commit
8e0e066c3f
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue