diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-08-01 11:29:16 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-08-01 11:29:16 +0200 |
commit | 995aa163234be3cb40c81b307bc4f47b990a35e3 (patch) | |
tree | 658f8b707641b23837c10c7145ba41205377f3e6 /platform/qt/src/http_request.cpp | |
parent | 54ca0c357bf522cb01fa3ee2f1131aac9b9c0cc0 (diff) | |
download | qtlocation-mapboxgl-995aa163234be3cb40c81b307bc4f47b990a35e3.tar.gz |
Diffstat (limited to 'platform/qt/src/http_request.cpp')
-rw-r--r-- | platform/qt/src/http_request.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/platform/qt/src/http_request.cpp b/platform/qt/src/http_request.cpp index d74ed0e7ee..4805204382 100644 --- a/platform/qt/src/http_request.cpp +++ b/platform/qt/src/http_request.cpp @@ -111,12 +111,8 @@ void HTTPRequest::handleNetworkReply(QNetworkReply *reply) response.notModified = true; break; case 404: { - if (m_resource.kind == ResourceKind::Tile) { - response.noContent = true; - } else { - response.error = std::make_unique<Error>( - ResourceStatus::NotFoundError, "HTTP status code 404"); - } + response.error = std::make_unique<Error>( + ResourceStatus::NotFoundError, "HTTP status code 404"); break; } case 429: |