diff --git a/backup-daemon/systemrestoreproxy.cpp b/backup-daemon/systemrestoreproxy.cpp index 2d2bad3..56d07fa 100755 --- a/backup-daemon/systemrestoreproxy.cpp +++ b/backup-daemon/systemrestoreproxy.cpp @@ -308,6 +308,9 @@ QStringList SystemRestoreProxy::getRsyncArgs(SystemRestoreScene scene) */ void SystemRestoreProxy::restoreSystem() { + // 停止安全防护 + QProcess::execute("systemctl stop kysec-init.service"); + // 本地系统备份没有img挂载,故下面两个路径相等 m_srcPath = m_backupPath; QString destPath = Utils::getSysRootPath(); diff --git a/kybackup/leftsiderbarwidget.cpp b/kybackup/leftsiderbarwidget.cpp index 61b6cc8..bc23a06 100755 --- a/kybackup/leftsiderbarwidget.cpp +++ b/kybackup/leftsiderbarwidget.cpp @@ -121,7 +121,7 @@ void LeftsiderbarWidget::paintEvent(QPaintEvent *event) opt.init(this); QPainter p(this); p.setPen(Qt::NoPen); - QColor color = palette().color(QPalette::Window); + QColor color = palette().color(QPalette::Button); color.setAlphaF(m_transparency); QPalette pal(this->palette()); pal.setColor(QPalette::Window, QColor(color));