aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/config.cpp
diff options
context:
space:
mode:
authorlat9nq <lat9nq@virginia.edu>2020-07-26 13:29:47 -0400
committerlat9nq <lat9nq@virginia.edu>2020-07-26 13:31:00 -0400
commit156bf5b2976b9df3451a06ca32092c252c6f039f (patch)
tree0728dd9b263d40a5ef0fd80911b12b2e3ef85b14 /src/yuzu/configuration/config.cpp
parente35239b86128535d4ac308856ce2a928654f5dcb (diff)
config: Make the save-as identifier more consistent
Solves an issue with restoring the value upon reloading program.
Diffstat (limited to 'src/yuzu/configuration/config.cpp')
-rw-r--r--src/yuzu/configuration/config.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index eb73481bd2..11633fd909 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -1182,9 +1182,9 @@ void Config::SaveRendererValues() {
void Config::SaveScreenshotValues() {
qt_config->beginGroup(QStringLiteral("Screenshots"));
- WriteSetting(QStringLiteral("enableScreenshotSaveAs"),
+ WriteSetting(QStringLiteral("enable_screenshot_save_as"),
UISettings::values.enable_screenshot_save_as);
- WriteSetting(QStringLiteral("screenshotPath"),
+ WriteSetting(QStringLiteral("screenshot_path"),
QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::ScreenshotsDir)));
qt_config->endGroup();