改造不完整引起编译错误

This commit is contained in:
zhaominyong 2022-07-05 17:53:04 +08:00
parent 6d7db3db56
commit 131a9563c5
1 changed files with 2 additions and 0 deletions

View File

@ -850,6 +850,8 @@ void GhostImage::on_ghost_start()
backupWrapper.m_uuid = m_uuid; backupWrapper.m_uuid = m_uuid;
backupWrapper.m_type = BackupType::GHOST_IMAGE; backupWrapper.m_type = BackupType::GHOST_IMAGE;
backupWrapper.m_backupName = createGhostImageName(m_backupName); backupWrapper.m_backupName = createGhostImageName(m_backupName);
QString prePath = Utils::getSysRootPath() + "/media";
prePath = prePath.replace("//", "/");
if (m_iPosition != BackupPosition::CUSTOMIZE && m_prefixDestPath.startsWith(prePath)) { if (m_iPosition != BackupPosition::CUSTOMIZE && m_prefixDestPath.startsWith(prePath)) {
backupWrapper.m_iPosition = BackupPosition::UDISK; backupWrapper.m_iPosition = BackupPosition::UDISK;
} else { } else {