diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-10-20 22:35:06 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-10-20 22:35:06 +0100 |
| commit | 82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch) | |
| tree | 1a1f782d3e576b758be0bc61171574a7cd8f2376 /SampleDownloader/Directory.cpp | |
| parent | 061658210acb6425517733ea012dda803a7f72a1 (diff) | |
| parent | 61d684922b0f1c8455cc60eb3d123df058c9e1f5 (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/Directory.cpp')
| -rw-r--r-- | SampleDownloader/Directory.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/SampleDownloader/Directory.cpp b/SampleDownloader/Directory.cpp index 45ebe6b5..2d73928e 100644 --- a/SampleDownloader/Directory.cpp +++ b/SampleDownloader/Directory.cpp @@ -37,7 +37,6 @@ Directory::Directory (Configuration const * configuration : QTreeWidget {parent} , configuration_ {configuration} , network_manager_ {network_manager} - , http_only_ {false} , root_dir_ {configuration_->save_directory ()} , contents_ {this , network_manager_ @@ -95,7 +94,7 @@ void Directory::error (QString const& title, QString const& message) MessageBox::warning_message (this, title, message); } -bool Directory::refresh (bool http_only) +bool Directory::refresh () { abort (); clear (); @@ -103,7 +102,6 @@ bool Directory::refresh (bool http_only) root_dir_ = configuration_->save_directory (); QDir contents_dir {root_dir_.absoluteFilePath (samples_dir_name)}; contents_.local_file_path (contents_dir.absoluteFilePath (contents_file_name)); - contents_.http_only (http_only_ = http_only); QUrl url {url_root_.resolved (QDir {root_dir_.relativeFilePath (samples_dir_name)}.filePath (contents_file_name))}; if (url.isValid ()) { @@ -179,7 +177,7 @@ void Directory::parse_entries (QJsonArray const& entries, QDir const& dir, QTree { auto node = new FileNode {parent, network_manager_ , QDir {root_dir_.filePath (dir.path ())}.absoluteFilePath (name) - , url, http_only_}; + , url}; FileNode::sync_blocker b {node}; node->setIcon (0, file_icon_); node->setCheckState (0, node->local () ? Qt::Checked : Qt::Unchecked); |
