This commit is contained in:
zhaominyong 2021-12-12 10:55:31 +08:00
parent 9c0fa26b9d
commit b42ba7a444
1 changed files with 2 additions and 2 deletions

View File

@ -720,9 +720,9 @@ bool SystemBackup::isExistsBackupName(const QString & backupName)
udisk_setting.setIniCodec(QTextCodec::codecForName("utf-8"));
udisk_setting.beginGroup(backupName);
QString uuidFound = udisk_setting.value("uuid").toString();
udisk_setting.endGroup();
sudisk_setting.endGroup();
if (!uuidFound.isEmpty())
return false;
return true;
// 然后校验xml和log中的备份记录这一步只是为了保险而兼容老版本的备份以前的唯一性文件中只有U盘的备份
QList<ParseBackupList::BackupPoint> backupPointList = getBackupPointList();