添加部分代码

This commit is contained in:
metanoia1989 2021-01-03 22:03:58 +08:00
parent 7f764bbb8c
commit be0b63c209

View File

@ -167,8 +167,8 @@ void Widget::multiDownload(const QString &url, qint64 fileSize, const QString &f
{
QMutexLocker mLock(&lock);
// qDebug() << "调整文件的数据指针:" << writePos;
file.seek(writePos);
file.write(data);
// file.seek(writePos);
// file.write(data);
bytesReceived += data.size();
qDebug() << QString("%1, %2, %3")
.arg(writePos).arg(bytesReceived).arg(data.size());