修复笔误代码

This commit is contained in:
zhaominyong 2022-04-01 10:13:03 +08:00
parent e9e2af5afb
commit ef407bbdf1
4 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ bool UDiskDataRestoreProxy::checkEnvEx()
} }
// 4、检测xml中的还原点是否还存在 // 4、检测xml中的还原点是否还存在
QString xmlPath = Utils::getSysRootPath() + BACKUP_XML_PATH; QString xmlPath = m_backupWrapper.m_prefixDestPath + BACKUP_XML_PATH;
xmlPath.replace("//", "/"); xmlPath.replace("//", "/");
ParseBackupList parse(xmlPath); ParseBackupList parse(xmlPath);
m_backupPoint = parse.findBackupPointByUuid(m_backupWrapper.m_uuid); m_backupPoint = parse.findBackupPointByUuid(m_backupWrapper.m_uuid);

View File

@ -65,7 +65,7 @@ bool UDiskSystemRestoreProxy::checkEnvEx()
} }
// 4、检测xml中的还原点是否还存在 // 4、检测xml中的还原点是否还存在
QString xmlPath = Utils::getSysRootPath() + BACKUP_XML_PATH; QString xmlPath = m_backupWrapper.m_prefixDestPath + BACKUP_XML_PATH;
xmlPath.replace("//", "/"); xmlPath.replace("//", "/");
ParseBackupList parse(xmlPath); ParseBackupList parse(xmlPath);
m_backupPoint = parse.findBackupPointByUuid(m_backupWrapper.m_uuid); m_backupPoint = parse.findBackupPointByUuid(m_backupWrapper.m_uuid);

View File

@ -979,7 +979,7 @@ void SystemBackup::initFifthWidget()
hlayoutCenterFont2_1->addWidget(labelTip_1); hlayoutCenterFont2_1->addWidget(labelTip_1);
hlayoutCenterFont2_1->addStretch(); hlayoutCenterFont2_1->addStretch();
hlayoutCenterFont2_1->setAlignment(Qt::AlignCenter); hlayoutCenterFont2_1->setAlignment(Qt::AlignCenter);
vlayout->addLayout(hlayoutCenterFont2); vlayout->addLayout(hlayoutCenterFont2_1);
vlayout->addSpacing(30); vlayout->addSpacing(30);
// 第三行 // 第三行