修复笔误代码

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

@ -644,7 +644,7 @@ void GhostImage::initForthWidget()
LineLabel *line2 = new LineLabel(forth, QColor(COLOR_BLUE)); LineLabel *line2 = new LineLabel(forth, QColor(COLOR_BLUE));
CircleLable *three = new CircleLable("3", forth); CircleLable *three = new CircleLable("3", forth);
QHBoxLayout *layoutLine1 = new QHBoxLayout; QHBoxLayout *layoutLine1 = new QHBoxLayout;
layoutLine1->addSpacing(105); layoutLine1->addSpacing(105);
layoutLine1->addWidget(one); layoutLine1->addWidget(one);
layoutLine1->addWidget(line1); layoutLine1->addWidget(line1);
layoutLine1->addWidget(two); layoutLine1->addWidget(two);

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);
// 第三行 // 第三行