From f02ccb928fd4ed591d2efe118a571e154f5df68a Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Mon, 8 Jun 2020 00:30:32 +0200 Subject: Starts to implement gopher protocol and gophermap support. Heavily WIP, but you can already surf on gopherspace! --- src/webclient.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/webclient.cpp') diff --git a/src/webclient.cpp b/src/webclient.cpp index 6e9b5ab..f3d8daa 100644 --- a/src/webclient.cpp +++ b/src/webclient.cpp @@ -17,6 +17,9 @@ WebClient::~WebClient() bool WebClient::startRequest(const QUrl &url) { + if(url.scheme() != "http" and url.scheme() != "https") + return false; + if(this->current_reply != nullptr) return true; -- cgit v1.2.3