diff --git a/MultiplethreadDownload/widget.cpp b/MultiplethreadDownload/widget.cpp index 9ae4d64..7b2b2f8 100644 --- a/MultiplethreadDownload/widget.cpp +++ b/MultiplethreadDownload/widget.cpp @@ -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());