This commit is contained in:
parent
64f453d612
commit
8df0b6759b
|
@ -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();
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue