diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-05 04:45:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 04:45:08 +0100 |
commit | 8e0e066c3f2e5b1143bb08f45dce59f71cc54040 (patch) | |
tree | 9ea4127c2ab9c76f4368cf0f78811b4285977075 | |
parent | Merge pull request #12235 from liamwhite/flip-clip (diff) | |
parent | frontend_common: Use optional for language default (diff) | |
download | yuzu-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.cpp | 3 |
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(); } |