From 156bf5b2976b9df3451a06ca32092c252c6f039f Mon Sep 17 00:00:00 2001 From: lat9nq Date: Sun, 26 Jul 2020 13:29:47 -0400 Subject: [PATCH] config: Make the save-as identifier more consistent Solves an issue with restoring the value upon reloading program. --- src/yuzu/configuration/config.cpp | 4 ++-- 1 file 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();