还是有日志好

This commit is contained in:
zhaominyong 2022-06-30 09:53:47 +08:00
parent 918bd028d4
commit b54fd37a59
1 changed files with 1 additions and 1 deletions

View File

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