去掉一些输出日志,以防日志文件大小增长过快
This commit is contained in:
parent
e386703fd9
commit
a936536f5a
|
@ -352,7 +352,7 @@ void MyBackupManager::autoBackUpForSystemUpdate_noreturn(const QString& autoback
|
||||||
case int(BackupResult::BACKUP_START_SUCCESS) :
|
case int(BackupResult::BACKUP_START_SUCCESS) :
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
emit this->sendStartBackupResult(result);
|
emit this->sendStartBackupResult(result);
|
||||||
this->finished();
|
this->finished();
|
||||||
if (!Utils::isRunning("kybackup")) {
|
if (!Utils::isRunning("kybackup")) {
|
||||||
this->umountBackupPartition();
|
this->umountBackupPartition();
|
||||||
|
|
|
@ -11,7 +11,7 @@ RsyncPathToDirProcess::RsyncPathToDirProcess(QObject *parent) :
|
||||||
|
|
||||||
connect(m_p, &QProcess::readyRead, this, [&]() {
|
connect(m_p, &QProcess::readyRead, this, [&]() {
|
||||||
QString str = QString(m_p->readAll());
|
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.contains("B/s") && str.contains("%")) {
|
if (str.contains("B/s") && str.contains("%")) {
|
||||||
if (str.split("%").at(0).length() < 3)
|
if (str.split("%").at(0).length() < 3)
|
||||||
|
|
Loading…
Reference in New Issue