From a936536f5aaa415220c69372c4d273761fa1e780 Mon Sep 17 00:00:00 2001 From: zhaominyong Date: Wed, 15 Jun 2022 15:04:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=B8=80=E4=BA=9B=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E6=97=A5=E5=BF=97=EF=BC=8C=E4=BB=A5=E9=98=B2=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=96=87=E4=BB=B6=E5=A4=A7=E5=B0=8F=E5=A2=9E=E9=95=BF?= =?UTF-8?q?=E8=BF=87=E5=BF=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backup-daemon/mybackupmanager.cpp | 2 +- backup-daemon/myprocess/rsyncpathtodirprocess.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backup-daemon/mybackupmanager.cpp b/backup-daemon/mybackupmanager.cpp index ce9b6b9..bb5a071 100755 --- a/backup-daemon/mybackupmanager.cpp +++ b/backup-daemon/mybackupmanager.cpp @@ -352,7 +352,7 @@ void MyBackupManager::autoBackUpForSystemUpdate_noreturn(const QString& autoback case int(BackupResult::BACKUP_START_SUCCESS) : break; default: - emit this->sendStartBackupResult(result); + emit this->sendStartBackupResult(result); this->finished(); if (!Utils::isRunning("kybackup")) { this->umountBackupPartition(); diff --git a/backup-daemon/myprocess/rsyncpathtodirprocess.cpp b/backup-daemon/myprocess/rsyncpathtodirprocess.cpp index d924b4f..c6310bf 100755 --- a/backup-daemon/myprocess/rsyncpathtodirprocess.cpp +++ b/backup-daemon/myprocess/rsyncpathtodirprocess.cpp @@ -11,7 +11,7 @@ RsyncPathToDirProcess::RsyncPathToDirProcess(QObject *parent) : connect(m_p, &QProcess::readyRead, this, [&]() { QString str = QString(m_p->readAll()); - qDebug() << str; + // qDebug() << str; // if (str.contains("B\/s") && str.contains("%")) { if (str.contains("B/s") && str.contains("%")) { if (str.split("%").at(0).length() < 3)