[Docs] Document UpdateDownloader::beginDownload restart contract

This commit is contained in:
AI-scor 2026-11-10 21:37:49 +01:00
parent eb5672014d
commit bf09b0bb3a

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);