From 7c3894a625f387d3ed9eefb210beb6075fa6ded9 Mon Sep 17 00:00:00 2001 From: zhaominyong Date: Sat, 2 Apr 2022 14:42:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backup-daemon/udisksystembackupproxy.cpp | 2 +- backup-daemon/udisksystemrestoreproxy.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backup-daemon/udisksystembackupproxy.cpp b/backup-daemon/udisksystembackupproxy.cpp index 03e5570..139b0cd 100755 --- a/backup-daemon/udisksystembackupproxy.cpp +++ b/backup-daemon/udisksystembackupproxy.cpp @@ -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、计算待备份数据的大小 diff --git a/backup-daemon/udisksystemrestoreproxy.cpp b/backup-daemon/udisksystemrestoreproxy.cpp index 739425a..7cb1eb0 100755 --- a/backup-daemon/udisksystemrestoreproxy.cpp +++ b/backup-daemon/udisksystemrestoreproxy.cpp @@ -362,7 +362,7 @@ void UDiskSystemRestoreProxy::restoreSystem() if (m_isForce) { qCritical("U盘已拔出"); emit checkResult(int(BackupResult::INC_NOT_FOUND_DIR)); - return false; + return ; } // 停止安全防护, 迁移到业务开始的锁定中去