SCRATCH separate the generic updater logic from the application
This commit is contained in:
parent
7a71ecd8af
commit
4730f54df7
31 changed files with 1056 additions and 1104 deletions
|
@ -31,7 +31,7 @@ void ByteArrayDownload::start()
|
|||
auto worker = ENV.qnam();
|
||||
QNetworkReply *rep = worker->get(request);
|
||||
|
||||
m_reply = std::shared_ptr<QNetworkReply>(rep);
|
||||
m_reply.reset(rep);
|
||||
connect(rep, SIGNAL(downloadProgress(qint64, qint64)),
|
||||
SLOT(downloadProgress(qint64, qint64)));
|
||||
connect(rep, SIGNAL(finished()), SLOT(downloadFinished()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue