diff --git a/backup-daemon/udiskdatarestoreproxy.cpp b/backup-daemon/udiskdatarestoreproxy.cpp index fab64c4..4093a3f 100755 --- a/backup-daemon/udiskdatarestoreproxy.cpp +++ b/backup-daemon/udiskdatarestoreproxy.cpp @@ -62,7 +62,7 @@ bool UDiskDataRestoreProxy::checkEnvEx() } // 4、检测xml中的还原点是否还存在 - QString xmlPath = Utils::getSysRootPath() + BACKUP_XML_PATH; + QString xmlPath = m_backupWrapper.m_prefixDestPath + BACKUP_XML_PATH; xmlPath.replace("//", "/"); ParseBackupList parse(xmlPath); m_backupPoint = parse.findBackupPointByUuid(m_backupWrapper.m_uuid); diff --git a/backup-daemon/udisksystemrestoreproxy.cpp b/backup-daemon/udisksystemrestoreproxy.cpp index f115d1f..5b3836e 100755 --- a/backup-daemon/udisksystemrestoreproxy.cpp +++ b/backup-daemon/udisksystemrestoreproxy.cpp @@ -65,7 +65,7 @@ bool UDiskSystemRestoreProxy::checkEnvEx() } // 4、检测xml中的还原点是否还存在 - QString xmlPath = Utils::getSysRootPath() + BACKUP_XML_PATH; + QString xmlPath = m_backupWrapper.m_prefixDestPath + BACKUP_XML_PATH; xmlPath.replace("//", "/"); ParseBackupList parse(xmlPath); m_backupPoint = parse.findBackupPointByUuid(m_backupWrapper.m_uuid); diff --git a/kybackup/module/ghostimage.cpp b/kybackup/module/ghostimage.cpp index eb1b1c1..50264e3 100755 --- a/kybackup/module/ghostimage.cpp +++ b/kybackup/module/ghostimage.cpp @@ -644,7 +644,7 @@ void GhostImage::initForthWidget() LineLabel *line2 = new LineLabel(forth, QColor(COLOR_BLUE)); CircleLable *three = new CircleLable("3", forth); QHBoxLayout *layoutLine1 = new QHBoxLayout; - layoutLine1->addSpacing(105); + layoutLine1->addSpacing(105); layoutLine1->addWidget(one); layoutLine1->addWidget(line1); layoutLine1->addWidget(two); diff --git a/kybackup/module/systembackup.cpp b/kybackup/module/systembackup.cpp index a8cd67c..1ec9cc7 100755 --- a/kybackup/module/systembackup.cpp +++ b/kybackup/module/systembackup.cpp @@ -979,7 +979,7 @@ void SystemBackup::initFifthWidget() hlayoutCenterFont2_1->addWidget(labelTip_1); hlayoutCenterFont2_1->addStretch(); hlayoutCenterFont2_1->setAlignment(Qt::AlignCenter); - vlayout->addLayout(hlayoutCenterFont2); + vlayout->addLayout(hlayoutCenterFont2_1); vlayout->addSpacing(30); // 第三行