添加部分代码
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);
|
QMutexLocker mLock(&lock);
|
||||||
// qDebug() << "调整文件的数据指针:" << writePos;
|
// qDebug() << "调整文件的数据指针:" << writePos;
|
||||||
file.seek(writePos);
|
// file.seek(writePos);
|
||||||
file.write(data);
|
// file.write(data);
|
||||||
bytesReceived += data.size();
|
bytesReceived += data.size();
|
||||||
qDebug() << QString("%1, %2, %3")
|
qDebug() << QString("%1, %2, %3")
|
||||||
.arg(writePos).arg(bytesReceived).arg(data.size());
|
.arg(writePos).arg(bytesReceived).arg(data.size());
|
||||||
|
Loading…
Reference in New Issue
Block a user