This commit is contained in:
parent
c271efac59
commit
7c3894a625
|
@ -182,7 +182,7 @@ void UDiskSystemBackupProxy::checkFreeCapacity(qint64 itotalSize)
|
|||
// 拔掉U盘的场景
|
||||
if (m_isForce) {
|
||||
emit this->checkResult(int(BackupResult::WRITE_BACKUP_PATHS_TO_USER_FAILED));
|
||||
return false;
|
||||
return ;
|
||||
}
|
||||
|
||||
// 1、计算待备份数据的大小
|
||||
|
|
|
@ -362,7 +362,7 @@ void UDiskSystemRestoreProxy::restoreSystem()
|
|||
if (m_isForce) {
|
||||
qCritical("U盘已拔出");
|
||||
emit checkResult(int(BackupResult::INC_NOT_FOUND_DIR));
|
||||
return false;
|
||||
return ;
|
||||
}
|
||||
|
||||
// 停止安全防护, 迁移到业务开始的锁定中去
|
||||
|
|
Loading…
Reference in New Issue