diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-19 10:37:20 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-19 10:37:20 +0200 |
| commit | 6a5198d23412a6d11f78cdef71850e578ca6f8c0 (patch) | |
| tree | 136afe4f0d78018a1ae97a35e770ae792ae66ebc /src/filehandler.cpp | |
| parent | 9a5c0b8ba8595b9084ad8dc27884b0cbc691459c (diff) | |
| download | kristall-6a5198d23412a6d11f78cdef71850e578ca6f8c0.tar.gz | |
Allows user to skip over invalid TLS connections and fetch the content anyways.
Diffstat (limited to 'src/filehandler.cpp')
| -rw-r--r-- | src/filehandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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)) |
