Просмотр исходного кода

config: Make the save-as identifier more consistent

Solves an issue with restoring the value upon reloading program.
lat9nq 6 лет назад
Родитель
Сommit
156bf5b297
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/yuzu/configuration/config.cpp

+ 2 - 2
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();