This commit is contained in:
zhaominyong 2022-02-16 14:52:11 +08:00
parent 64f453d612
commit 8df0b6759b
2 changed files with 4 additions and 1 deletions

View File

@ -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();

View File

@ -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));