diff options
| author | 2020-07-26 13:29:47 -0400 | |
|---|---|---|
| committer | 2020-07-26 13:31:00 -0400 | |
| commit | 156bf5b2976b9df3451a06ca32092c252c6f039f (patch) | |
| tree | 0728dd9b263d40a5ef0fd80911b12b2e3ef85b14 /src | |
| parent | configure_ui: Ensure a separator follows the returned path (diff) | |
| download | yuzu-156bf5b2976b9df3451a06ca32092c252c6f039f.tar.gz yuzu-156bf5b2976b9df3451a06ca32092c252c6f039f.tar.xz yuzu-156bf5b2976b9df3451a06ca32092c252c6f039f.zip | |
config: Make the save-as identifier more consistent
Solves an issue with restoring the value upon reloading program.
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp index eb73481bd..11633fd90 100644 --- a/src/yuzu/configuration/config.cpp +++ b/src/yuzu/configuration/config.cpp | |||
| @@ -1182,9 +1182,9 @@ void Config::SaveRendererValues() { | |||
| 1182 | void Config::SaveScreenshotValues() { | 1182 | void Config::SaveScreenshotValues() { |
| 1183 | qt_config->beginGroup(QStringLiteral("Screenshots")); | 1183 | qt_config->beginGroup(QStringLiteral("Screenshots")); |
| 1184 | 1184 | ||
| 1185 | WriteSetting(QStringLiteral("enableScreenshotSaveAs"), | 1185 | WriteSetting(QStringLiteral("enable_screenshot_save_as"), |
| 1186 | UISettings::values.enable_screenshot_save_as); | 1186 | UISettings::values.enable_screenshot_save_as); |
| 1187 | WriteSetting(QStringLiteral("screenshotPath"), | 1187 | WriteSetting(QStringLiteral("screenshot_path"), |
| 1188 | QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::ScreenshotsDir))); | 1188 | QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::ScreenshotsDir))); |
| 1189 | 1189 | ||
| 1190 | qt_config->endGroup(); | 1190 | qt_config->endGroup(); |