diff options
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/rbutilqt/base/httpget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/httpget.cpp b/rbutil/rbutilqt/base/httpget.cpp index 476da87bad..1c879e728a 100644 --- a/rbutil/rbutilqt/base/httpget.cpp +++ b/rbutil/rbutilqt/base/httpget.cpp @@ -170,7 +170,7 @@ void HttpGet::requestFinished(QNetworkReply* reply) return; } else if(m_lastStatusCode == 200 || - (reply->url().isLocalFile() && reply->error() == 0)) { + (reply->url().scheme() == "file" && reply->error() == 0)) { // callers might not be aware if the request is file:// so fake 200. m_lastStatusCode = 200; m_data = reply->readAll(); |