From 131a9563c50ead4b82888e752e54ac92661566db Mon Sep 17 00:00:00 2001 From: zhaominyong Date: Tue, 5 Jul 2022 17:53:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E9=80=A0=E4=B8=8D=E5=AE=8C=E6=95=B4?= =?UTF-8?q?=E5=BC=95=E8=B5=B7=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kybackup/module/ghostimage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kybackup/module/ghostimage.cpp b/kybackup/module/ghostimage.cpp index 6746d59..3babce1 100755 --- a/kybackup/module/ghostimage.cpp +++ b/kybackup/module/ghostimage.cpp @@ -850,6 +850,8 @@ void GhostImage::on_ghost_start() backupWrapper.m_uuid = m_uuid; backupWrapper.m_type = BackupType::GHOST_IMAGE; backupWrapper.m_backupName = createGhostImageName(m_backupName); + QString prePath = Utils::getSysRootPath() + "/media"; + prePath = prePath.replace("//", "/"); if (m_iPosition != BackupPosition::CUSTOMIZE && m_prefixDestPath.startsWith(prePath)) { backupWrapper.m_iPosition = BackupPosition::UDISK; } else {