Browse Source
Merge pull request #12408 from german77/lang
yuzu: Read/Save category Paths
pull/15/merge
Charles Lombardo
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
src/yuzu/configuration/qt_config.cpp
|
|
|
@ -225,6 +225,8 @@ void QtConfig::ReadPathValues() { |
|
|
|
QString::fromStdString(ReadStringSetting(std::string("recentFiles"))) |
|
|
|
.split(QStringLiteral(", "), Qt::SkipEmptyParts, Qt::CaseSensitive); |
|
|
|
|
|
|
|
ReadCategory(Settings::Category::Paths); |
|
|
|
|
|
|
|
EndGroup(); |
|
|
|
} |
|
|
|
|
|
|
|
@ -405,6 +407,8 @@ void QtConfig::SaveQtControlValues() { |
|
|
|
void QtConfig::SavePathValues() { |
|
|
|
BeginGroup(Settings::TranslateCategory(Settings::Category::Paths)); |
|
|
|
|
|
|
|
WriteCategory(Settings::Category::Paths); |
|
|
|
|
|
|
|
WriteSetting(std::string("romsPath"), UISettings::values.roms_path); |
|
|
|
BeginArray(std::string("gamedirs")); |
|
|
|
for (int i = 0; i < UISettings::values.game_dirs.size(); ++i) { |
|
|
|
|