改造不完整引起编译错误
This commit is contained in:
parent
6d7db3db56
commit
131a9563c5
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue