This commit is contained in:
zhaominyong 2022-04-02 14:42:07 +08:00
parent c271efac59
commit 7c3894a625
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ void UDiskSystemBackupProxy::checkFreeCapacity(qint64 itotalSize)
// 拔掉U盘的场景 // 拔掉U盘的场景
if (m_isForce) { if (m_isForce) {
emit this->checkResult(int(BackupResult::WRITE_BACKUP_PATHS_TO_USER_FAILED)); emit this->checkResult(int(BackupResult::WRITE_BACKUP_PATHS_TO_USER_FAILED));
return false; return ;
} }
// 1、计算待备份数据的大小 // 1、计算待备份数据的大小

View File

@ -362,7 +362,7 @@ void UDiskSystemRestoreProxy::restoreSystem()
if (m_isForce) { if (m_isForce) {
qCritical("U盘已拔出"); qCritical("U盘已拔出");
emit checkResult(int(BackupResult::INC_NOT_FOUND_DIR)); emit checkResult(int(BackupResult::INC_NOT_FOUND_DIR));
return false; return ;
} }
// 停止安全防护, 迁移到业务开始的锁定中去 // 停止安全防护, 迁移到业务开始的锁定中去