summaryrefslogtreecommitdiff
path: root/SampleDownloader/RemoteFile.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:49 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:49 +0200
commit76956486fa7ef52a51d4e56df1e13a9f19a6c93c (patch)
treefe0c394439fdc167d1970372e8998874090854dd /SampleDownloader/RemoteFile.hpp
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
parentffc62c792c9a5196cb4ce7a353287dfe20db6524 (diff)
Update upstream source from tag 'upstream/3.3.0_beta1+dfsg'
Update to upstream version '3.3.0~beta1+dfsg' with Debian dir 85037bbb9376721108594b59b54ead82ac6924a3
Diffstat (limited to 'SampleDownloader/RemoteFile.hpp')
-rw-r--r--SampleDownloader/RemoteFile.hpp7
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_;