From 6a5198d23412a6d11f78cdef71850e578ca6f8c0 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Fri, 19 Jun 2020 10:37:20 +0200 Subject: Allows user to skip over invalid TLS connections and fetch the content anyways. --- src/filehandler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/filehandler.cpp') diff --git a/src/filehandler.cpp b/src/filehandler.cpp index a8e2e24..d26cd57 100644 --- a/src/filehandler.cpp +++ b/src/filehandler.cpp @@ -14,8 +14,10 @@ bool FileHandler::supportsScheme(const QString &scheme) const return (scheme == "file"); } -bool FileHandler::startRequest(const QUrl &url) +bool FileHandler::startRequest(const QUrl &url, RequestOptions options) { + Q_UNUSED(options) + QFile file { url.path() }; if (file.open(QFile::ReadOnly)) -- cgit v1.2.3