添加部分代码
This commit is contained in:
parent
7f764bbb8c
commit
be0b63c209
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user