NOISSUE refactor NetAction to be based on Task
Still missing some things, this is part 1.
This commit is contained in:
parent
243f7e4fb4
commit
e1465f4848
42 changed files with 299 additions and 314 deletions
|
@ -43,7 +43,7 @@ void SkinUpload::executeTask()
|
|||
QNetworkReply *rep = ENV.qnam().put(request, multiPart);
|
||||
m_reply = std::shared_ptr<QNetworkReply>(rep);
|
||||
|
||||
setStatus(tr("Uploading skin"));
|
||||
setStatusText(tr("Uploading skin"));
|
||||
connect(rep, &QNetworkReply::uploadProgress, this, &Task::setProgress);
|
||||
connect(rep, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(downloadError(QNetworkReply::NetworkError)));
|
||||
connect(rep, SIGNAL(finished()), this, SLOT(downloadFinished()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue