summaryrefslogtreecommitdiff
path: root/SampleDownloader/RemoteFile.hpp
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
committerDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
commit82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch)
tree1a1f782d3e576b758be0bc61171574a7cd8f2376 /SampleDownloader/RemoteFile.hpp
parent061658210acb6425517733ea012dda803a7f72a1 (diff)
parent61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff)
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
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_;