diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
| commit | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch) | |
| tree | 1269efa852935b183daae4bb33a58d1b4d2ffb53 /SampleDownloader/RemoteFile.hpp | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to 'SampleDownloader/RemoteFile.hpp')
| -rw-r--r-- | SampleDownloader/RemoteFile.hpp | 7 |
1 files changed, 1 insertions, 6 deletions
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<QNetworkReply> reply_; bool is_valid_; |
