|
@@ -224,11 +224,13 @@ void SettingsWidget::onBackupSettingsInfoChanged()
|
|
{
|
|
{
|
|
settings_backup_["Backup/installed"] = Settings::getValue("Backup/installed");
|
|
settings_backup_["Backup/installed"] = Settings::getValue("Backup/installed");
|
|
settings_backup_["Backup/path"] = Settings::getValue("Backup/path");
|
|
settings_backup_["Backup/path"] = Settings::getValue("Backup/path");
|
|
- settings_backup_["Backup/creation_time"] = Settings::getValue("Backup/path");
|
|
|
|
|
|
+ settings_backup_["Backup/creation_time"] = Settings::getValue("Backup/creation_time");
|
|
|
|
|
|
QString backup_status = Settings::getValue("Backup/installed").toBool() ? "Активна" : "Отсутствует";
|
|
QString backup_status = Settings::getValue("Backup/installed").toBool() ? "Активна" : "Отсутствует";
|
|
ui->backup_status_value->setText(backup_status);
|
|
ui->backup_status_value->setText(backup_status);
|
|
|
|
+
|
|
ui->backup_path_value->setText(QApplication::applicationDirPath() + Settings::getValue("Backup/path").toString());
|
|
ui->backup_path_value->setText(QApplication::applicationDirPath() + Settings::getValue("Backup/path").toString());
|
|
|
|
+
|
|
QString backup_creation_time = Settings::getValue("Backup/creation_time").toString();
|
|
QString backup_creation_time = Settings::getValue("Backup/creation_time").toString();
|
|
if (backup_creation_time == "none")
|
|
if (backup_creation_time == "none")
|
|
backup_creation_time = "-";
|
|
backup_creation_time = "-";
|