mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 00:40:58 +01:00
config: Make the save-as identifier more consistent
Solves an issue with restoring the value upon reloading program.
This commit is contained in:
parent
e35239b861
commit
156bf5b297
1 changed files with 2 additions and 2 deletions
|
@ -1182,9 +1182,9 @@ void Config::SaveRendererValues() {
|
||||||
void Config::SaveScreenshotValues() {
|
void Config::SaveScreenshotValues() {
|
||||||
qt_config->beginGroup(QStringLiteral("Screenshots"));
|
qt_config->beginGroup(QStringLiteral("Screenshots"));
|
||||||
|
|
||||||
WriteSetting(QStringLiteral("enableScreenshotSaveAs"),
|
WriteSetting(QStringLiteral("enable_screenshot_save_as"),
|
||||||
UISettings::values.enable_screenshot_save_as);
|
UISettings::values.enable_screenshot_save_as);
|
||||||
WriteSetting(QStringLiteral("screenshotPath"),
|
WriteSetting(QStringLiteral("screenshot_path"),
|
||||||
QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::ScreenshotsDir)));
|
QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::ScreenshotsDir)));
|
||||||
|
|
||||||
qt_config->endGroup();
|
qt_config->endGroup();
|
||||||
|
|
Loading…
Reference in a new issue