From ffc62c792c9a5196cb4ce7a353287dfe20db6524 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Fri, 9 Oct 2026 14:12:35 +0200 Subject: New upstream version 3.3.0~beta1+dfsg --- SampleDownloader/RemoteFile.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'SampleDownloader/RemoteFile.hpp') diff --git a/SampleDownloader/RemoteFile.hpp b/SampleDownloader/RemoteFile.hpp index 3e6cb851..273c6887 100644 --- a/SampleDownloader/RemoteFile.hpp +++ b/SampleDownloader/RemoteFile.hpp @@ -39,8 +39,7 @@ public: }; explicit RemoteFile (ListenerInterface * listener, QNetworkAccessManager * network_manager - , QString const& local_file_path, bool http_only = false - , QObject * parent = nullptr); + , QString const& local_file_path, QObject * parent = nullptr); // true if local file exists or will do very soon bool local () const; @@ -57,9 +56,6 @@ public: QString local_file_path () const {return local_file_.absoluteFilePath ();} QUrl url () const {return url_;} - // always use an http scheme for remote URLs - void http_only (bool flag = true) {http_only_ = flag;} - private: void download (QUrl url); void reply_finished (); @@ -73,7 +69,6 @@ private: ListenerInterface * listener_; QNetworkAccessManager * network_manager_; QFileInfo local_file_; - bool http_only_; QUrl url_; QPointer reply_; bool is_valid_; -- cgit v1.2.3