出厂备份不能删除

This commit is contained in:
zhaominyong 2022-04-07 14:10:22 +08:00
parent bd5900ae5a
commit 10acd924eb
3 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,4 @@
#ifndef FILEFILTERPROXYMODELFORBACKUP_H
#define FILEFILTERPROXYMODELFORBACKUP_H
#endif // FILEFILTERPROXYMODELFORBACKUP_H

View File

@ -111,8 +111,8 @@ void ManageBackupPointList::insertLines(const QList<ParseBackupList::BackupPoint
}
//hide factory backup
// if (backupPoint.m_uuid == FACTORY_BACKUP_UUID)
// continue;
if (backupPoint.m_uuid == FACTORY_BACKUP_UUID)
continue;
//udisk unique
if (backupPoint.m_path.startsWith(preDevPath)) {