Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
fix(Config): 修复设置路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ambition_echo committed Aug 5, 2022
1 parent 21f4ef1 commit b5cbdd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void Config::writeConfig()
settings->setValue("updateTime", ui->updateTime->currentText());
settings->setValue("earthSize", ui->earthSize->value());
settings->setValue("wallpaperDir", ui->wallpaperDir->text());
settings->setValue("wallpaperFile", ui->wallpaperDir->text());
settings->setValue("wallpaperFile", ui->wallpaperFile->text());
settings->endGroup();
QMessageBox::information(this, tr("设置"), tr("设置保存成功!"));
emit configChanged();
Expand Down

0 comments on commit b5cbdd5

Please sign in to comment.