[Docs] Document UpdateDownloader::beginDownload restart contract (#7892)

This commit is contained in:
AI-scor 2026-11-10 22:16:04 +01:00 • committed by GitHub
parent eb5672014d
commit 23906ef978
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,9 @@ class UpdateDownloader : public QObject
Q_OBJECT Q_OBJECT
public: public:
explicit UpdateDownloader(QObject *parent); explicit UpdateDownloader(QObject *parent);
// Starts a transfer and supersedes any reply still in flight: a cancelled or
// failed download can be restarted on the same object, and late signals from
// the superseded reply are dropped instead of reported.
void beginDownload(QUrl url); void beginDownload(QUrl url);
signals: signals:
void downloadSuccessful(QUrl filepath); void downloadSuccessful(QUrl filepath);