diff --git a/kybackup/module/databackup.cpp b/kybackup/module/databackup.cpp index 10ef786..a0b9b6b 100755 --- a/kybackup/module/databackup.cpp +++ b/kybackup/module/databackup.cpp @@ -270,7 +270,6 @@ void DataBackup::initSecondWidget() if (GlobelBackupInfo::inst().hasBackupPartition()) { QString qsLocalDefaultPath = Utils::getSysRootPath() + BACKUP_SNAPSHOTS_PATH; qsLocalDefaultPath.replace("//", "/"); - this->m_prefixDestPath = ""; this->m_udiskPaths << ""; comboSelect->addItem(iconFolder, tr("local default path : ") + qsLocalDefaultPath); } @@ -1282,6 +1281,7 @@ void DataBackup::initFifthWidget() // 不要使用电脑,以防数据丢失 labelTip->setDeplayText(tr("Do not use computer in case of data loss")); cancel->setEnabled(true); + Utils::wait(2); // 开始备份 this->on_backup_start(); diff --git a/kybackup/module/datarestore.cpp b/kybackup/module/datarestore.cpp index 3ee8aed..c12ffd5 100755 --- a/kybackup/module/datarestore.cpp +++ b/kybackup/module/datarestore.cpp @@ -630,6 +630,7 @@ void DataRestore::initThirdWidget() connect(this, &DataRestore::startRestore, this, [=] { progressBar->setPersent(0); movie->start(); + Utils::wait(2); // 开始还原 this->on_restore_start(); diff --git a/kybackup/module/ghostimage.cpp b/kybackup/module/ghostimage.cpp index 9117fbd..2f385d0 100755 --- a/kybackup/module/ghostimage.cpp +++ b/kybackup/module/ghostimage.cpp @@ -211,7 +211,6 @@ void GhostImage::initSecondWidget() if (GlobelBackupInfo::inst().hasBackupPartition()) { QString qsLocalDefaultPath = Utils::getSysRootPath() + GHOST_PATH; qsLocalDefaultPath.replace("//", "/"); - this->m_prefixDestPath = ""; this->m_udiskPaths << ""; comboSelect->addItem(iconFolder, tr("local default path : ") + qsLocalDefaultPath); }