diff --git a/src/network/access/qnetworkreplywasmimpl.cpp b/src/network/access/qnetworkreplywasmimpl.cpp index 425d0cfe368..a4bdba1e4e1 100644 --- a/src/network/access/qnetworkreplywasmimpl.cpp +++ b/src/network/access/qnetworkreplywasmimpl.cpp @@ -282,11 +282,6 @@ void QNetworkReplyWasmImplPrivate::doSendRequest() attr.attributes += EMSCRIPTEN_FETCH_APPEND; } - if (CacheLoadControlAttribute == QNetworkRequest::AlwaysNetwork || - request.attribute(QNetworkRequest::CacheSaveControlAttribute, false).toBool()) { - attr.attributes -= EMSCRIPTEN_FETCH_PERSIST_FILE; - } - attr.withCredentials = request.attribute(QNetworkRequest::UseCredentialsAttribute, false).toBool(); attr.onsuccess = QNetworkReplyWasmImplPrivate::downloadSucceeded; attr.onerror = QNetworkReplyWasmImplPrivate::downloadFailed;